You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to upgrade my reanimated versioning from 2.14.4 to 3.1.0 with the flag --legacy-peer-dep. The update happens normally but when I import even a basic Animated => const animated = useRef(new Animated.Value(0)).current; it gives it as null. When i explored the react-native-reanimated.d.ts file, I can see that the imports in the file lead to nowhere.
All the redlined imports can not be found as these files do not exist.
Steps to reproduce:
Linked the babel
npm install react-native-reanimated@latest --legacy-peer-deps
npm start -- --reset-cache
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to upgrade my reanimated versioning from 2.14.4 to 3.1.0 with the flag --legacy-peer-dep. The update happens normally but when I import even a basic Animated =>

const animated = useRef(new Animated.Value(0)).current;
it gives it as null. When i explored thereact-native-reanimated.d.ts
file, I can see that the imports in the file lead to nowhere.All the redlined imports can not be found as these files do not exist.
Steps to reproduce:
Linked the babel
npm install react-native-reanimated@latest --legacy-peer-deps
npm start -- --reset-cache
RN version: 0.71.6
Beta Was this translation helpful? Give feedback.
All reactions