React Native & Expo (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)
What are the key differences between the Old Architecture (Bridge) and the New Architecture in React Native?
senior LevelSystem Design
In Simple Words:
- The Old Architecture (Legacy Bridge):
- Relied on an asynchronous JSON Bridge over an IPC thread.
- Every UI update, touch event, and native call had to be serialized into a JSON string, sent over the bridge, and parsed by the other side.
- Bottleneck: High-frequency events (fast scrolling, complex animations) congested the bridge, causing dropped frames and white flashes!
- The New Architecture (Modern Standard):
- Eliminates the bridge completely using JSI (JavaScript Interface).
- JavaScript can directly invoke C++ methods and hold direct memory references to native host objects with zero JSON serialization!