wcandillon / react-native-redash

The React Native Reanimated and Gesture Handler Toolbelt
https://wcandillon.gitbook.io/redash/
MIT License
1.98k stars 117 forks source link

Expo 50 forces Reanimated 3 and so Redash 2 #522

Open flo-butterfly opened 7 months ago

flo-butterfly commented 7 months ago

Hi,

with Expo 50 pushing to use the latest reanimated and so redash 2, did anyone figure out how to find how to migrate?

Did you all restart from scratch all your animations? Is there at least a guide explaining like if you were using a function now you have to use this one? @wcandillon

Thank you

wcandillon commented 7 months ago

I have an expo 50 project with Skia and Reanimated 2 but I'm not using redash there yet, do you have some examples of things that are failing?

flo-butterfly commented 7 months ago

Thanks for replying @wcandillon .

Sorry i wasn't clear enough, it's actually the fact that everything from redash v1 is no longer working after updating to 18.1.3. There is no longer the ability to use import react-native-redash/lib/module/v1 (unless i missed something) and so it would require to move everything to redash v2 so i was wondering if there were any guidelines to achieve that.

Thank you

firstChairCoder commented 4 months ago

Late, but I thought to leave a comment here as I came across this issue updating an old project that used Reanimated 2 and redash v1.

The short reason as I can gather is simply that Reanimated v3 has dropped support for Reanimated v1's API (see here).

A good amount of the functions in redash v1 will not work for that reason.