TL;DR: The legacy React Native bridge serializes every call between JavaScript and native code and delivers it asynchronously, which adds latency and can drop frames under heavy traffic. The New Architecture (JSI, Fabric and TurboModules) lets JavaScript call native code directly, including synchronously. It has been the default since React Native 0.76 and the only option since 0.82, so for most teams the real task is upgrading through 0.81, auditing native dependencies, and porting custom bridge modules to Codegen specs.
Key Takeaways
- Replace legacy bridge modules (
RCT_EXPORT_METHOD) with TurboModules backed by JSI to remove bridge serialization and queueing. - The New Architecture is enabled by default from React Native 0.76. From 0.82 it is the only architecture:
newArchEnabled=falseandRCT_NEW_ARCH_ENABLED=0are ignored. - Upgrade to 0.81 (or Expo SDK 54) first, the last versions that still allow the legacy architecture, fix everything that breaks with the New Architecture on, then move past 0.82.
- Define TurboModules with typed TypeScript specs (
export interface Spec extends TurboModule). A method that returns a plain value is synchronous; keep slow work in methods that return aPromise. - Import
codegenNativeComponentandCodegenTypesfrom thereact-nativeroot. Deep imports fromreact-native/Libraries/...are deprecated since 0.80.
You call a native method to fetch device sensor data. In the legacy architecture, the call is serialized, queued on the bridge, deserialized on the native side, and dispatched to a native module thread. The response makes the same trip back, and your JavaScript callback runs some time later.
For basic screens that delay is invisible. For data-heavy interfaces, gesture-driven animations or real-time maps, the legacy bridge becomes a bottleneck: messages queue up behind each other, native responses arrive after the frame they were needed for, and fast scrolling can show blank cells while the JS thread catches up.
The React Native New Architecture replaces the bridge with JSI (JavaScript Interface), Fabric (the new rendering system) and TurboModules (the new native module system). JavaScript can call native code directly, including synchronously, without serializing every argument to a message. It does not make every app fast by itself, but it removes a structural source of latency.
The timing also matters. The New Architecture is the default from React Native 0.76 (October 2024), and from 0.82 (October 2025) the legacy architecture can no longer be enabled. If your app is still on the bridge, this migration is now part of every upgrade, not an optional optimization.
The Core Problem: The Legacy Bridge Bottleneck
To understand why the New Architecture is necessary, you must understand how the old bridge fundamentally limits execution speed.
In the old architecture, JavaScript and Native code operate in entirely isolated realms. They communicate exclusively by passing asynchronous JSON messages over a message queue.
// ios/LegacySensorModule.m
#import <React/RCTBridgeModule.h>
@interface LegacySensorModule : NSObject <RCTBridgeModule>
@end
@implementation LegacySensorModule
RCT_EXPORT_MODULE();
// This is completely asynchronous. JS cannot wait for the return value directly.
RCT_EXPORT_METHOD(getSensorData:(RCTResponseSenderBlock)callback)
{
NSDictionary *sensorData = @{@"x": @(1.2), @"y": @(3.4), @"z": @(0.8)};
// Data is serialized to JSON, queued, and sent back across the bridge
callback(@[sensorData]);
}
@end
Because standard RCT_EXPORT_METHOD methods are asynchronous, JavaScript cannot read a native value in the same frame. The legacy escape hatch, RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD, blocked the JS thread and did not work with the old remote (Chrome) debugger. Keeping JS-driven animations in step with native scroll and gesture events was difficult for the same reason, which is why libraries such as Reanimated moved that work off the bridge.
JSI removes the message queue. It is a C++ API that lets the JavaScript engine (Hermes by default, though JSI is engine-agnostic) hold references to C++ Host Objects and call their methods directly. A TurboModule method declared to return a value runs synchronously on the JS thread; one that returns a Promise can do its work elsewhere and resolve later. Arguments are converted between JS and native types by generated code instead of being serialized into a batched bridge message.
Enabling the New Architecture
Where you start depends on your React Native version:
| Your version | New Architecture status | What to do |
|---|---|---|
| 0.75 or older | Opt-in | Upgrade to 0.81 in steps, using the React Native Upgrade Helper |
| 0.76 to 0.81 | On by default, can still be turned off | Remove any newArchEnabled=false override and fix what breaks |
| 0.82 and newer | Only architecture; opt-out flags are ignored | Port remaining bridge-only code; interop layers still cover some cases |
On 0.76 to 0.81, the switches look like this. If your project has the New Architecture turned off, these are the lines to change:
# android/gradle.properties
# true is the default from 0.76; false is ignored from 0.82
newArchEnabled=true
# Hermes is the default engine
hermesEnabled=true
# iOS: reinstall pods with the New Architecture on (the default from 0.76)
cd ios
RCT_NEW_ARCH_ENABLED=1 bundle exec pod install
Production Note: Codegen runs as part of the Android Gradle build and of
pod installon iOS. It reads the TypeScript specs listed bycodegenConfiginpackage.jsonand generates the C++ and platform glue that connects them to JSI.
Building a TurboModule: Synchronous Native Execution
Migrating a legacy module to a TurboModule requires a specification-first approach. Instead of writing native code and letting the bridge infer types at runtime, you define a typed TypeScript interface. Codegen then generates the C++ code and the Objective-C protocol or Java/Kotlin base class your native implementation must satisfy.
Here is how to define a TurboModule specification for a synchronous device calculator:
// tm/NativeCalculator.ts
import type { TurboModule } from 'react-native';
import { TurboModuleRegistry } from 'react-native';
export interface Spec extends TurboModule {
// Notice this returns a direct number, not a Promise.
// This maps to a synchronous C++ call.
add(a: number, b: number): number;
}
export default TurboModuleRegistry.getEnforcing<Spec>('NativeCalculator');
Register the spec folder in package.json so Codegen picks it up. The modulesProvider entry maps the JS module name to your iOS class:
"codegenConfig": {
"name": "NativeCalculatorSpec",
"type": "modules",
"jsSrcsDir": "tm",
"android": { "javaPackageName": "com.example.calculator" },
"ios": {
"modulesProvider": { "NativeCalculator": "RCTNativeCalculator" }
}
}
You then implement the generated protocol in Objective-C++ (the .mm extension is required to mix Objective-C and C++):
// ios/RCTNativeCalculator.h
#import <Foundation/Foundation.h>
// Generated by Codegen from the spec above
#import <NativeCalculatorSpec/NativeCalculatorSpec.h>
@interface RCTNativeCalculator : NSObject <NativeCalculatorSpec>
@end
// ios/RCTNativeCalculator.mm
#import "RCTNativeCalculator.h"
@implementation RCTNativeCalculator
// Must match the name passed to TurboModuleRegistry.getEnforcing
+ (NSString *)moduleName {
return @"NativeCalculator";
}
// The signature must match the generated Objective-C protocol.
// Synchronous: this runs on the JS thread, so keep it cheap.
- (NSNumber *)add:(double)a b:(double)b {
return @(a + b);
}
// Connects this class to the generated JSI binding
- (std::shared_ptr<facebook::react::TurboModule>)getTurboModule:
(const facebook::react::ObjCTurboModule::InitParams &)params {
return std::make_shared<facebook::react::NativeCalculatorSpecJSI>(params);
}
@end
TurboModules are also initialized lazily, on first use, instead of all at startup. How much that improves launch time depends on how many native modules your app ships, so measure startup before and after on a real device.
Migrating UI Components to Fabric
Fabric is the new rendering system that replaces the legacy renderer and its asynchronous shadow tree. In the old architecture, React sent view operations to the native side as bridge messages. With Fabric, the shadow tree lives in shared C++ code that React reaches through JSI, layout can run synchronously when needed, and concurrent React features such as transitions and Suspense work on mobile.
To create a Fabric component, you start with a typed TypeScript specification. Import from the react-native root; deep imports from react-native/Libraries/... are deprecated since 0.80.
// fabric/CustomGradientViewNativeComponent.ts
import type { CodegenTypes, HostComponent, ViewProps } from 'react-native';
import { codegenNativeComponent } from 'react-native';
export interface NativeProps extends ViewProps {
colorStart: string;
colorEnd: string;
// Codegen maps Int32 to a 32-bit integer prop in the generated C++ props struct
borderRadius?: CodegenTypes.Int32;
}
export default codegenNativeComponent<NativeProps>(
'CustomGradientView',
) as HostComponent<NativeProps>;
Warning: Codegen generates typed native props from this spec. Pass exactly the types the spec declares and type-check the call sites with TypeScript; do not rely on the native side to coerce a string into a number the way some legacy view managers did.
Because Fabric can commit updates synchronously and supports concurrent rendering, it also addresses the visual inconsistencies that appeared when JS state and native layout drifted apart under the old asynchronous renderer.
Auditing Your Dependency Tree
Before you can fully switch your production app to the New Architecture, you must ensure that all third-party libraries in your node_modules support Fabric and TurboModules. React Native provides interop layers that let many legacy modules and components run on the New Architecture, and they will remain for the foreseeable future. They are a bridge for migration, not a target: code that goes through them does not get the typed, direct JSI calls, and not every legacy pattern is supported. The React Native Directory marks which libraries support the New Architecture, and Expo projects can run npx expo-doctor to check dependencies against it.
You can run a quick audit of your dependencies using a bash script to check for modern Codegen specs:
#!/bin/bash
# audit-new-arch.sh
# Finds libraries that have explicitly defined Codegen specs
echo "Scanning node_modules for New Architecture specifications..."
find ./node_modules -maxdepth 3 -type f -name "package.json" | while read -r file; do
if grep -q '"codegenConfig"' "$file"; then
libname=$(jq -r '.name' "$file")
echo "Has codegenConfig: $libname"
fi
done
A missing codegenConfig does not always mean a library is incompatible (pure JS libraries need none, and some native ones work through the interop layer), so treat the script as a first pass and confirm against each library's release notes. If a critical native library (navigation, maps, camera) is unmaintained, replace it, contribute New Architecture support upstream, or fork it.
Structuring Your Migration Sprints
Migrating a large application to Fabric and TurboModules is not a weekend task. The architecture is chosen at build time for the whole app, so you cannot switch individual screens at runtime. Instead, stage the work so the app stays shippable at every step:
- Upgrade to 0.81 (or Expo SDK 54) with the legacy architecture still allowed. Use the React Native Upgrade Helper to apply template changes one minor version at a time, and release each step.
- Turn the New Architecture on in a branch and run the dependency audit. Upgrade libraries that support it, and list the ones that only run through the interop layer.
- Port your own native code. Convert custom bridge modules to TurboModule specs and custom view managers to Fabric components, starting with the ones on hot paths such as long lists and gesture handlers.
- Test on real devices. Run your critical flows on low-end Android hardware as well as recent iPhones, and compare startup time and frame metrics against the legacy build.
- Ship on 0.81 with the New Architecture on, then upgrade past 0.82. Once nothing depends on the legacy architecture, later upgrades no longer carry this risk.
If you want an experienced team to plan or carry out these steps, our React Native app development services include New Architecture migrations.
Unlocking Uncompromised Mobile Performance
The legacy React Native bridge was a reasonable design for its time, but its asynchronous, serialized messaging limits data-heavy and gesture-driven apps. The New Architecture replaces it with direct JSI calls, a C++ renderer that can lay out synchronously, and lazily loaded, typed native modules.
It is not a guarantee of 60fps: slow JavaScript, heavy re-renders and oversized lists still drop frames, and they need profiling like any other app. What the migration gives you is a supported foundation. Since 0.82 there is no legacy path left, so the sooner custom bridge code is ported, the cheaper every later upgrade becomes.
Sources
- React Native 0.82 release notes (New Architecture only, 0.81 as the last legacy-capable version, interop layers)
- React Native 0.80 release notes (deep imports deprecated)
- React Native docs: Turbo Native Modules (spec,
codegenConfig, iOS implementation) - React Native docs: Fabric Native Components (component spec with root imports)
- React Native docs: About the New Architecture
Need help building this in production?
SoftwareCrafting is a full-stack dev agency - we ship fast, scalable React, Next.js, Node.js, React Native & Flutter apps for global clients.
Get a Free ConsultationFrequently Asked Questions
What was wrong with the old React Native bridge?
Every call between JavaScript and native code was serialised to JSON and sent asynchronously across the bridge. Heavy traffic, such as scroll events or large data, queued up and caused dropped frames and slow interactions.
What do Fabric and TurboModules change?
They use JSI, which lets JavaScript hold references to native objects and call them directly, including synchronously. TurboModules are also loaded lazily, which shortens startup, and Fabric renders UI with less overhead between the two sides.
How do I know if my libraries support the New Architecture?
Audit every native dependency before you enable it. Check each library for New Architecture support in its documentation or the React Native directory, upgrade the ones that have it, and replace or wrap the ones that do not.
Can I migrate to the New Architecture gradually?
Up to a point. On 0.81 and earlier you can upgrade with the legacy architecture still on, then enable the New Architecture in a branch and fix build and runtime issues library by library. The switch itself is app-wide, and from 0.82 it can no longer be turned off, so finish the migration on 0.81 before upgrading further.
