wcandillon / react-native-redash

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

Library is not fully compatible with Reanimated 3 #527

Open itsnyx opened 3 weeks ago

itsnyx commented 3 weeks ago

Hello, i was using this library like this video by the man himself https://www.youtube.com/watch?v=yBuhnVDXekQ&t=42s

but these functions like processTransform3d is not compatible with reanimated 3 and gives error that

ReanimatedError: [Reanimated] Tried to synchronously call a non-worklet function `_slicedToArray` on the UI thread.
See https://docs.swmansion.com/react-native-reanimated/docs/guides/troubleshooting#tried-to-synchronously-call-a-non-worklet-function-on-the-ui-thread for more details., js engine: reanimated

also when multiplying matrixes the indexes are not correct and for eg pan gesture handler is not working because the matrix indexes are not ok with reanimated 3

also im not sure i need to try with reanimated 2 again .

"react-native-redash": "^18.1.3",
"react-native": "0.74.5",
"react-native-reanimated": "^3.15.3",

@wcandillon it would be awesome to give this library update thanks 💯
thanks for your big big works on react native animated world ❤️

dongxuxucool commented 2 weeks ago

same issue