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
If I never use the animated classes, I won't need react-native-reanimated to be available and built in my native app. However, I will continuously get unmeet peer dependency warnings until I add it, which means it'll autolinked and built with my app.
In my opinion, if someone is bothering to use Nativewind 4, especially in its current pre-release state, then they should definitely be on @latest for React Native Reanimated.
I tend to agree with you, but when working on a production app used by many distributed component teams, it's not as easy as seems to just force latest.
If the API and features of a 3rd party module are the same across many versions (even majors like react-native-reanimated), a library consuming that module should support the minimum version via peer deps. This helps greatly with adoption of the library too.
But this thread is more about react-native-reanimated being a peer dependency, regardless of version 😄
If I never use the animated classes, I won't need
react-native-reanimated
to be available and built in my native app. However, I will continuously get unmeet peer dependency warnings until I add it, which means it'll autolinked and built with my app.I noticed that it used to be an optional peer dependency, but is now required.
How is
react-native-reanimated
different thanreact-native-svg
andreact-native-safe-area-context
, which are optional?Thanks!
The text was updated successfully, but these errors were encountered: