@tamagui/proxy-worm 1.45.3 → 1.45.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +4 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -30,6 +30,10 @@ ${new Error().stack}
|
|
|
30
30
|
obj.displayName = `ProxyWorm - Check excludeReactNativeWebExports`
|
|
31
31
|
obj._isProxyWorm = true
|
|
32
32
|
|
|
33
|
+
// reanimated tries to find component like things
|
|
34
|
+
obj.prototype ||= {}
|
|
35
|
+
obj.prototype.isReactComponent = true
|
|
36
|
+
|
|
33
37
|
return new Proxy(obj, {
|
|
34
38
|
get(_, key) {
|
|
35
39
|
if (Reflect.has(obj, key)) return Reflect.get(obj, key)
|