JSI, Fabric, TurboModules

The New Architecture: JSI, Fabric and TurboModules

The New Architecture replaces one message queue with direct function calls. It has three parts, plus a code generator that keeps them honest.

The New Architecture: JavaScript calls Fabric and TurboModules directly through JSI
The New Architecture: JavaScript calls Fabric and TurboModules directly through JSI

The payoff shows in everyday code: with Fabric, useLayoutEffect reads layout synchronously, so a tooltip appears in the right place in the first frame instead of jumping, and libraries such as VisionCamera pass camera frames to JavaScript as host objects instead of copying them.