"매 async-bridge serialization 의 제거 — JS 와 native 의 direct memory call". 매 React Native 0.68 (Fabric, TurboModules) 부터 시작 → 0.74 default 로 출하된 architectural rewrite. 매 JSI (JavaScript Interface) 기반 synchronous interop 으로 60Hz/120Hz UI 동기화.
매 핵심
매 Old Bridge 의 한계
매 모든 native↔JS 호출 의 JSON serialize → batched async queue.
매 startup 에 module table 전체 의 eager registration.
매 60fps 의 16.67ms budget 에 round-trip ≥ 2 frames 의 발생.
매 frame-locked animation/gesture 의 jank.
매 New Architecture 의 3 pillars
JSI: C++ host object 의 JS-runtime direct binding. Hermes/JSC interchangeable.
TurboModules: native module 의 lazy load + sync invocation.
Fabric: shadow tree 의 C++ rewrite — concurrent rendering + thread-safe layout.
매 Codegen 의 역할
매 TS/Flow spec → C++/Java/ObjC scaffolding 의 자동 생성.
// 매 native side 에서 JS function 의 expose
autoadd=jsi::Function::createFromHostFunction(rt,jsi::PropNameID::forAscii(rt,"add"),2,[](jsi::Runtime&rt,constjsi::Value&,constjsi::Value*args,size_t){returnjsi::Value(args[0].asNumber()+args[1].asNumber());});rt.global().setProperty(rt,"add",std::move(add));
Bridgeless mode 활성화
// react-native.config.js
module.exports={project:{ios:{},android:{},},// 매 RN 0.74+ 부터 default true
reactNativeArchitectures:'arm64-v8a,x86_64',};
import{findNodeHandle,UIManager}from'react-native';// 매 Fabric 에서 sync measure 의 가능
consthandle=findNodeHandle(ref.current);UIManager.measureInWindow(handle,(x,y,w,h)=>{// 매 동일 frame 안에 layout 완료 의 보장
});
Reanimated 3 worklet (JSI 활용)
importAnimated,{useSharedValue,useAnimatedStyle,withSpring}from'react-native-reanimated';constoffset=useSharedValue(0);conststyle=useAnimatedStyle(()=>({transform:[{translateX: withSpring(offset.value)}],}));// 매 UI thread 에서 worklet 의 directly run — bridge 없음
매 결정 기준
상황
Approach
매 신규 RN app (2026)
Bridgeless default — 매 그대로 사용
매 legacy native module 다수
Interop layer 의 활용 (자동 shim)
매 60Hz+ animation 필요
Reanimated 3 + Fabric 의 mandatory
매 startup 시간 critical
TurboModule lazy init 의 활용
기본값: 매 RN 0.76+ 의 Bridgeless on by default — 매 비활성화 의 X.
언제: 매 RN 0.74+ green-field project, 매 native↔JS round-trip 의 perf bottleneck 진단, 매 Reanimated/Skia/Gesture-Handler 의 깊은 통합.
언제 X: 매 Expo Go (legacy bridge only) 환경, 매 unmaintained native module 에 의존하는 코드베이스.
❌ 안티패턴
매 mixed arch leak: 매 NEW_ARCH_ENABLED 의 절반만 활성화 → 매 일부 module 의 silent fallback.
매 sync abuse: 매 모든 호출 의 sync 화 → 매 JS thread 의 block.
매 Codegen skip: 매 manual binding 의 작성 — 매 type drift 의 발생.
매 bridge pattern 재현: 매 NativeEventEmitter 의 남용 — 매 JSI host object 의 selection.