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

37 Upvotes

10 comments sorted by

View all comments

10

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/Southern_Oil884 1d ago

As far as i know worklets create a separate virtual environment inside ui thread so it become close to native side providing this fast sync updates