@react-native-gpui/reanimated
v4.7.0-alpha.1
Published
Adapter for react-native-reanimated (MIT): runs animations, layout animations and CSS animations on the desktop renderer
Readme
@react-native-gpui/reanimated
Adapter for react-native-reanimated (MIT): runs animations, layout animations and CSS animations on the desktop renderer.
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/reanimatedReanimated 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.
