@react-native-gpui/worklets
v0.13.0-alpha.1
Published
Adapter for react-native-worklets (MIT): runs worklets on desktop, driven by the renderer's frame clock
Readme
@react-native-gpui/worklets
Adapter for react-native-worklets (MIT): runs worklets on desktop, driven by the renderer's frame clock.
Part of react-native-gpui, React Native for macOS, Windows and Linux.
Install
Install it next to react-native-worklets:
npm install [email protected] @react-native-gpui/workletsInstall the regular npm release of react-native-worklets. 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-worklets 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.
