React Native JavaScript మరియు native కోడ్ను నడుపుతుంది, అవి సంప్రదింపుకు ఉండాలి. అసలైన ఆర్కిటెక్చర్ అసమకాలిక bridgeను ఉపయోగించింది; new architecture (JSI, TurboModules, Fabric) వేగవంతమైన, సమకాలిక సంప్రదింపుకు అనుమతిస్తుంది. ఇది React Native యొక్క ప్రవర్తన మరియు పనితీరును స్పష్టం చేస్తుంది.
అసలైన ఆర్కిటెక్చర్: bridge
React Native runs:
→ a JS THREAD (your React/JS code) and the NATIVE side (UI, native modules)
→ they communicate over a BRIDGE: messages are SERIALIZED (to JSON), passed ASYNC,
and deserialized on the other side
Limitations:
✗ ASYNCHRONOUS only (can't call native synchronously)
✗ SERIALIZATION overhead; the bridge can be a BOTTLENECK with heavy traffic
✗ e.g. fast scrolling/animations passing data over the bridge → jank
