After installin Reanimated 2 still get the warrning "If you want to use Reanimated 2 then..."

4.9k Views Asked by At

i m trying to use '@react-navigation/top-tabs' but it deppendes on reanimated 2 i installed reanimated 2 but still get the same warrning :

If you want to use Reanimated 2 then go through our installation steps https://docs.swmansion.com/react-native-reanimated/docs/installation

1-is it ok to just ignore the warrning by using:

.ignoreLogs(['Reanimated 2']);

2-if u have any other idea please help me

thank you

3

There are 3 best solutions below

3
On

You might get warnings related to peer dependencies after installation. They are usually caused by incorrect version ranges specified in some packages. You can safely ignore most warnings as long as your app builds.

0
On

finally i solved this issue by install react-native-reanimated@alpha, do not use react-native-reanimated@next!

0
On

Please try react-native-reanimated@alpha