0
0
React Nativemobile~5 mins

React Native architecture (bridge, new architecture) - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the role of the Bridge in React Native architecture?
The Bridge connects JavaScript code with native platform code, allowing them to communicate asynchronously and exchange data.
Click to reveal answer
intermediate
What problem does the new React Native architecture aim to solve?
It aims to improve performance and reduce communication overhead between JavaScript and native code by replacing the Bridge with a more direct and synchronous system.
Click to reveal answer
intermediate
Name the three main parts of the new React Native architecture.
The three main parts are: Fabric (UI layer), TurboModules (native modules), and the JavaScript Interface (JSI) for direct communication.
Click to reveal answer
advanced
How does Fabric improve UI rendering in React Native?
Fabric allows synchronous and fine-grained updates to the UI by integrating with the native rendering system directly, making UI updates faster and smoother.
Click to reveal answer
advanced
What is the JavaScript Interface (JSI) in the new React Native architecture?
JSI is a lightweight interface that enables direct calls between JavaScript and native code without going through the Bridge, improving speed and reducing latency.
Click to reveal answer
What does the Bridge in React Native do?
AConnects JavaScript and native code asynchronously
BRenders UI components directly
CManages app navigation
DHandles network requests
Which part of the new architecture handles UI rendering?
ATurboModules
BFabric
CJSI
DBridge
What is a key benefit of the new React Native architecture over the old Bridge?
ASlower communication
BMore asynchronous calls
CDirect and faster communication
DLess native code
TurboModules in the new architecture are responsible for:
ANetwork requests
BUI rendering
CJavaScript parsing
DNative module management
JSI stands for:
AJavaScript Interface
BJavaScript Integration
CJavaScript Interpreter
DJavaScript Injection
Explain how the Bridge works in React Native and why the new architecture replaces it.
Think about how communication speed affects app performance.
You got /3 concepts.
    Describe the roles of Fabric, TurboModules, and JSI in the new React Native architecture.
    Each part improves a specific area of the app.
    You got /3 concepts.