Skip to main content
Version: 0.13

Getting started

What is React Native Worklets?​

React Native Worklets is a library that allows you to run JavaScript code in parallel on multiple threads and runtimes.

Installation​

Step 1: Install the package​

Install react-native-worklets package from npm:

npm install react-native-worklets

Step 2: Configure your project​

The remaining steps depend on how you build your app — pick your framework:

Run prebuild to update the native code in the ios and android directories.

npx expo prebuild

And that's it! Worklets library is now configured in your Expo project.

Don't I need the Worklets babel plugin?

Since Expo SDK 54, the Expo starter template includes the Worklets babel plugin by default, so there's nothing to add. On older SDKs, add react-native-worklets/plugin to your babel.config.js as described in the React Native Community CLI tab.

To learn more about the plugin go to Worklets babel plugin section.


npx expo start --clear