-
i got this error Desktop/Test/esc-pos-printer-expo/node_modules/react-native-reanimated/src/component/PerformanceMonitor.tsx:
Import stack: node_modules/react-native-reanimated/src/component/PerformanceMonitor.tsx node_modules/react-native-reanimated/src/index.ts node_modules/react-native-gesture-handler/src/handlers/gestures/reanimatedWrapper.ts node_modules/react-native-gesture-handler/src/handlers/gestures/GestureDetector/useAnimatedGesture.ts node_modules/react-native-gesture-handler/src/handlers/gestures/GestureDetector/index.tsx node_modules/react-native-gesture-handler/src/index.ts App.tsx index.ts | import "./index" |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
No, Our |
Beta Was this translation helpful? Give feedback.
-
Might be cache issue. I have upgraded two projects at the same time. one has unistyles. clearing cache solved the issue. thanks! |
Beta Was this translation helpful? Give feedback.
No,
react-native-unistyles
is a separate library and reanimated doessn't require any other external library to work (except thereact-native-worklets
when you are using reanimated v4). Maybereact-native-unistyles
replaces the defaultView
component exported fromreact-native
with its own implementation or something?Our
PerformanceMonitor
component imports a plainView
component fromreact-native
and, based on your stack trace, it seems that it fails to render this component. It seems that unistyles are replacing this defaultView
component with their own implementation which doesn't work.