React Native JavaScript மற்றும் native code ஐ இயக்குகிறது, அவை தொடர்பு கொள்ள வேண்டும். அசல் architecture ஒரு asynchronous bridge ஐ பயன்படுத்தியது; new architecture (JSI, TurboModules, Fabric) வேகமான, synchronous தொடர்பை செயல்படுத்துகிறது. இது React Native இன் செயல்பாடு மற்றும் 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
