React Native under the hood
summary
Explains that React Native replaces the old JSON bridge backed by JSC with a JSI C++ interface that lets native and JS share memory, plug in engines like Hermes, V8 or Chakra, and avoid manual C memory handling. Shows how host functions/host objects, turbo modules, and a call invoker let native code run on the JS thread, and gives benchmarks: rendering improves noticeably on iOS (toll‑free bridging) while Android still faces JNI serialization costs. Mentions experimental APIs in 0.74/0.75.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 0:30JS runtime fundamentals
- 1:11The old bridge architecture
- 2:42Limitations and motivation
- 3:49Introducing JSI
- 5:53JSI core APIs
- 8:30Host objects and functions
- 9:58Native module flow
- 11:57Rendering and performance
- 13:35When to use JSI
- 14:22Community adoption of JSI
- 15:37New JSI APIs and TurboModules
- 18:55Cross-thread communication
- 20:47Conclusion and Q&A








