Breaking Down React Native Bridging
summary
Bridge mechanics get demystified with concrete numbers and tools: the prototype is 77% JavaScript 23% native, native code communicates via a JSON message signature over a single asynchronous bridge and message queue, and visibility comes from RN Snoopy (uses rxjs, filters streams, triggers yellow-box warnings). A CLI called react-native-create-bridge generates Obj‑C/Swift/Java/Kotlin templates. Performance tips include keeping data flat, minimizing passes, using native driver for animations, and preferring callbacks/promises/events or DeviceEventEmitter/eventDispatcher for cross‑side communication.
AI-written summary · about
chapters (8)
- 0:00Intro
- 1:14BRIDGING IN REACT NATIVE: HOW YOU COMMUNICATE BETWEEN JAVASCRIPT & NATIVE CODE
- 4:25UNDERSTANDING REACT NATIVE INTERNALS WILL HELP YOU LEARN BRIDGING FASTER
- 7:28MESSAGEQUEUE CONGESTION WILL SLOW DOWN YOUR REACT NATIVE APP.
- 11:23HOW TO BRIDGE NATIVE MODULES & UI COMPONENTS
- 14:05NATIVE UI COMPONENTS CROSS-PLATFORM CONCEPTS
- 16:49NATIVE MODULES CROSS-PLATFORM CONCEPTS
- 22:56Recording and Production Confreaks
related talks
34mReact Native - Under The Bridge
29mBuilding React Native
10mUnderstanding "Native" in React Native
33mReact Native
26mReact Native: Under the Hood
53mHow React-Native shapes the way we think about native apps
35mBridging the Gap: How to use React Native in existing large native code bases
21mReact Native under the hood
