React Native ले JavaScript र native कोड चलाउँछ जुन संचार गरेर काम गर्नुपर्छ। मूल आर्किटेक्चरले एसिङ्क्रोनस bridge प्रयोग गरेको थियो; नयाँ आर्किटेक्चर (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
