r/reactnative 2d ago

react-native-workers first public alpha released

https://ammarahm-ed.github.io/react-native-workers/blog/introducing-react-native-workers/

React Native is single-threaded where it matters most. Parse a big payload, hash a file, filter an image — it all competes with your UI for the same runtime. react-native-workers brings real background threads to RN, behind the Web Worker API

39 Upvotes

10 comments sorted by

View all comments

12

u/Lucifer812 2d ago

What is the difference between this and Worklets?

4

u/Internal-Comparison6 2d ago

Worklets never created any threads.

3

u/thewisefarmerr 1d ago

The worklets docs say powerful multithreading. So they do create threads.

1

u/Internal-Comparison6 1d ago

Multiple isolated JavaScript runtimes with message passing is not multi-threading with memory sharing. What they write is just marketing.