~/talk

Trying to understand new architecture of react-native with JSI

Talkat React Day Bangalore 2022 · 2022-06-08..06-09· [react-native, javascript]
slides:none on file

Explains why the JSON async bridge causes dropped taps and slow startup and shows a working replacement: JSI registers C++ host functions that proxy to Java via JNI, registers them on the JS global object, and lets JS call a Java UUID generator synchronously as global.getJSIRandomUUID(); the demo loads a C++ library, uses hostFunction/createFromHostFunction, attaches a JVM thread, calls the Java method, converts the result to a JSI string and returns it; claims lazy turbo-module initialization and Fabric’s direct UI manager access remove bridge choke and improve startup and responsiveness direct JS-to-native bindings TurboModules generate C++ proxies

AI-written summary · about

  1. 0:00Introduction to React Native
  2. 1:00Current architecture
  3. 2:22Architecture limitations
  4. 4:12Understanding JSI basics
  5. 6:09Native module invocation
  6. 10:09The role of JSI
  7. 12:39JSI implementation example
  8. 17:06Connecting the dots
  9. 19:15Turbo modules and benefits
  10. 20:44Fabric and conclusion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.