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
