React Native

React Native New Architecture

Fabric renderer, Turbo Modules, JSI, Codegen, migration from old architecture

24 interview questions·
Senior
1

What is the React Native New Architecture?

Answer

The New Architecture is a major overhaul of React Native introduced to improve performance and communication between JavaScript and native code. It comprises three main components: Fabric (new rendering system), Turbo Modules (replacement for Native Modules), and JSI (JavaScript Interface) that enables synchronous and direct communication between JS and native without going through the asynchronous bridge.

2

What is JSI (JavaScript Interface) in the New Architecture?

Answer

JSI is a lightweight abstraction layer allowing JavaScript code to interact directly with C++ objects without going through the asynchronous JSON bridge of the old architecture. This enables synchronous calls, better performance, and the ability to expose C++ functions directly to the JavaScript runtime. JSI is the foundation on which Fabric and Turbo Modules are built.

3

What is Fabric in the New Architecture?

Answer

Fabric is React Native's new rendering system that replaces the old UIManager. It uses JSI for synchronous communication with the native UI thread, enabling concurrent rendering and priority updates. Fabric also allows more efficient native-side rendering, reduces layout passes, and supports new features like Suspense and React 18+ transitions.

4

What are Turbo Modules in the New Architecture?

5

What is Codegen in the New Architecture?

+21 interview questions

Master React Native for your next interview

Access all questions, flashcards, technical tests, code review exercises and interview simulators.

Start for free