React Native JavaScript এবং native কোড চালায় যা অবশ্যই যোগাযোগ করতে হবে। মূল আর্কিটেকচার একটি অ্যাসিনক্রোনাস bridge ব্যবহার করেছিল; নতুন আর্কিটেকচার (JSI, TurboModules, Fabric) দ্রুত, সিনক্রোনাস যোগাযোগ সক্ষম করে। এটি বোঝা React Native এর আচরণ এবং পারফরম্যান্স স্পষ্ট করে।
আসল আর্কিটেকচার: ব্রিজ
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
