margelo/react-native-worklets-core
margelo/react-native-worklets-core has 793 GitHub stars and 67 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-24 02:28 UTC. Last push 2026-04-22.
Measured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
🧵 A library to run JS functions ("Worklets") on separate threads
Web & AppsREADME.md
Original🧵 react-native-worklets-core
A Worklet runner for React Native.
const worklet = () => {
'worklet'
return Math.random()
}
[!NOTE] In most cases, react-native-worklets-core shouldn't be used as a standalone dependency but rather as a peer-dependency for other modules such as react-native-vision-camera, react-native-wishlist, or react-native-skia.
Installation
- Install the library from npm:
yarn add react-native-worklets-core - Add the babel plugin to your
babel.config.js:module.exports = { plugins: [ ["react-native-worklets-core/plugin"], // ... ], // ... }; - Restart Metro with clean cache:
yarn start --reset-cache
Usage
See USAGE.md
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Credits
- Credits go to Christian Falch for building the initial version of this library. You're amazing! 🤩
- Credits go to Software Mansion for introducing the concept of Worklets in Reanimated v2. This library is inspired by Reanimated v2 with a few structural changes to the Worklets architecture to make it more flexible for different use-cases, such as integrating it with other C++ libraries like VisionCamera and WishList.
Explore related projects
Loading…