Multithreading

Software Mansion's best practices for multithreading and background processing in React Native apps. Use when offloading heavy computation, running background tasks, using Web Workers, or working with the React Native New Architecture's concurrent features. Trigger on: 'background thread', 'Worklet', 'runOnJS', 'runOnUI', 'heavy computation', 'background processing', 'concurrent', or any request to move work off the JS thread in a React Native app.

bidah 078b42f 673 B Updated

File contents

Multithreading

Software Mansion's production multithreading patterns for React Native on the New Architecture.

References

File When to read

bidah/react-native-hifi/tree/main/skills/software-mansion-best-practices/multithreading commit 078b42fdee

Frequently asked questions

npx skillmds@latest add bidah/multithreading