React Native JavaScript और native code चलाता है जिन्हें communicate करना होता है। मूल architecture एक asynchronous bridge का उपयोग करता था; new architecture (JSI, TurboModules, Fabric) तेज़, synchronous communication को सक्षम करता है। इसे समझना React Native के behavior और performance को स्पष्ट करता है।
मूल architecture: 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
