3 ms·
Arguably the primary React Native performance issue is that JS is single-threaded. Does React Native provide any useful tools for that?
by afavour 6y ago
Arguably the primary React Native performance issue is that JS is single-threaded. Does React Native provide any useful tools for that?
- spullara 6y agoYou can run things in workers: https://github.com/devfd/react-native-workers https://github.com/devfd/react-native-workers
- nicoburns 6y agoThat's not the primary issue. The main issue that there isn't (or wasn't until recently) a fast, low overhead way to communicate between JavaScript and native code. That's changing with JSI, and I think we might find React Native gets a lot faster in practice if they ever complete the work.