Old architecture vs. new architecturePart 14 of 14
The full flow
From your code to pixels on screen, everything in one path
IntermediateVerified on React Native 0.88Updated 6 December 2026
Read first: The render pipeline, Turbo Modules, Hermes and Hermes V1
The big idea#
This aspect ties every other one together: what happens to your code from the moment it's built until the user sees pixels and taps a button.
Concepts#
Build to pixels#
React Native, build to pixels
Boxes: Metro + hermesc (.hbc bytecode); Codegen + compilers (Native binary); APK / IPA; Launch (Native code first); ReactHost (Hermes + JSI); runApplication (First render); Render to mount (Fabric pipeline); Event loop (Tasks, microtasks); Turbo Modules (Lazy, via JSI). Arrows: Metro + hermesc to APK / IPA; Codegen + compilers to APK / IPA; APK / IPA to Launch; Launch to ReactHost; ReactHost to runApplication; runApplication to Render to mount; Render to mount to Event loop; Event loop to Turbo Modules.
- Build time
- Other
- Native
- C++
- JavaScript
The thirteen-line summary#
- A native module is a spec you write, glue Codegen generates, and an implementation you write.
- The old architecture sent everything through one asynchronous JSON bridge that was slow, copied every message, could never answer immediately and loaded every module at startup.
- The new architecture is JSI, Turbo Modules, Fabric, Codegen, Bridgeless mode and the event loop. It has been the default since 0.76 and the only option since 0.82.
- In Bridgeless mode,
ReactHost/RCTHostand a C++ReactInstancereplace the bridge object. - The event loop, run by
RuntimeScheduler, does one task, then its microtasks, then a render, and nothing paints in the middle of a task. - The build has two tracks that only meet in the APK or IPA, and OTA updates touch only the JS track.
- Codegen turns a spec into
schema.jsonand then into Java, Objective-C++ and C++ glue. The return type decides sync or async. - JSI is a C++ interface to the engine. Modules are
HostObjects, and each runtime belongs to one thread. - Sync calls are for tiny in-memory work on the JS thread, and they finish before the next paint.
- Hermes V1 compiles bytecode at build time, memory-maps it and interprets it without a JIT. It has been the default since 0.84.
- Turbo Modules are lazy and cached, invalidated on teardown, emit typed events, and can be written in pure C++.
- Fabric is a shared C++ renderer with immutable shadow nodes for host components only, and it flattens layout-only views.
- Every update goes through render (JS work), commit (layout) and mount (view mutations).
Myths vs reality#
Myth
The app starts by loading bytecode that Hermes executes directly
Reality: native code starts first, then ReactHost starts Hermes, which memory-maps the bytecode and interprets it.
Myth
React components are translated into native code by Fabric
Reality: components become shadow nodes, then native views. No code is generated at run time.
Myth
The Fabric renderer draws UI elements and handles animations, gestures and accessibility
Reality: Fabric applies mutations to ordinary platform views; the platform draws them. Animations and gestures come from separate systems (Animated, Reanimated, Gesture Handler) and the platform itself.
Myth
The new architecture avoids the crashes and memory leaks caused by the bridge
Reality: it removes some classes of bugs but introduces others: JSI lifetime bugs, threading mistakes, modules missing invalidate().
Myth
To get these benefits, enable Hermes and the New Architecture in your app
Reality: there's nothing to enable. Hermes has been the default since 0.70 and the New Architecture is mandatory since 0.82.
In one sentence
At build time your JavaScript becomes bytecode and your specs become native glue, and at run time native code starts ReactHost, Hermes runs the bytecode under a web-style event loop, Fabric turns React's output into native views through render, commit and mount, and Turbo Modules answer JS calls directly through JSI.