Enable Worklets Bundle Mode

Enable react-native-worklets Bundle Mode (imports inside worklets, third party libraries on worklet runtimes) in an Expo, RN CLI or brownfield React Native app, including the mandatory metro/metro-runtime patches. Use when the user asks to enable Bundle Mode, wants to import npm libraries inside worklets or offload JS code to worklet runtimes, or hits "Failed to get the SHA-1" errors in a worklets Bundle Mode project / missing Fast Refresh for worklet code. Covers enabling only — not disabling; upgrades react-native-worklets to a compatible version when needed, but never installs it from scratch and never touches Reanimated.

software-mansion-labs 0d0c1a8 6 files · 26.9 KB Updated

File contents

software-mansion-labs/skills/tree/main/skills/react-native-best-practices/references/enable-worklets-bundle-mode commit 0d0c1a8609

Frequently asked questions

npx skillmds@latest add software-mansion-labs/enable-worklets-bundle-mode