Closed hubciorz closed 1 year ago
Not sure how much more clear the error message could be (I wrote it). It explains how to fix it.
Pass an array to the hook as a dependency array.
Sorry, I was confused because the link redirects to a 404.
Ah, they changed their docs 🤦♂️
Yep. It should be https://docs.swmansion.com/react-native-reanimated/docs/guides/web-support#web-without-a-babel-plugin
instead.
Got it, would be a good upstream PR then
Is there an existing issue for this?
Do you want this issue prioritized?
Current Behavior
When I try to use
useAnimatedStyle
fromreact-native-reanimated
in the next.js part in a fresh installation ofnpx create-solito-app@latest -t with-expo-router
, I get this error:Expected Behavior
I should be able to use it without an error.
Steps To Reproduce
npx create-solito-app@latest -t with-expo-router
useAnimatedStyle
inpackages
folderapps/next
yarn web
and go to http://localhost:3000/path_to_the_screenVersions
Screenshots
Reproduction
No response