Bridge (React Native)
ELI5 — The Vibe Check
The Bridge is React Native's translator between JavaScript and native code. Every time your JS wants to talk to the camera or a native view, the bridge serializes the message, sends it across, and waits for a reply. It works, but it's like communicating by passing notes in class.
Real Talk
The communication layer in React Native's legacy architecture that serializes data between the JavaScript thread and native modules using JSON over an asynchronous message queue. The bridge introduces serialization overhead and is being replaced by JSI (JavaScript Interface) in the New Architecture for synchronous, direct native access.
When You'll Hear This
"The bridge was the bottleneck — every JS-to-native call had to serialize through JSON." / "React Native's new architecture replaces the bridge with JSI for direct, synchronous native calls."
Related Terms
Hermes Engine
Hermes is Meta's custom JavaScript engine built specifically for React Native.
Native Modules
Native modules are escape hatches that let you write actual Swift/Kotlin code when your cross-platform framework can't do something.
React Native
React Native lets you build iPhone and Android apps using React and JavaScript. It's like React put on a disguise and snuck into the App Store.