@react-native-gpui/reanimated
Desktop support for react-native-reanimated: animations, layout animations and CSS animations.
Part of react-native-gpui, React Native for macOS, Windows and Linux.
Install
Install it next to react-native-reanimated:
npm install [email protected] @react-native-gpui/reanimated
Reanimated needs Worklets, so install [email protected] and @react-native-gpui/worklets too.
Install the regular npm release of react-native-reanimated. Its C++ needs small fixes to build with MSVC and on Linux; this package applies them to a copy in the desktop build directory and never changes node_modules.
Keep using react-native-reanimated as you do on iOS and Android; its JavaScript API is unchanged. Autolinking builds the desktop side when the app is built.
Documentation
License
MIT. See LICENSE.