menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Programming News

>

React Nati...
source image

Logrocket

16h

read

161

img
dot

Image Credit: Logrocket

React Native’s New Architecture: Sync and async rendering

  • React Native's New Architecture improves performance, developer experience, and aligns with React's features.
  • React Native's New Architecture includes synchronous layout updates, concurrent rendering, JavaScript Interface (JSI), and support for advanced React 18+ features.
  • The New Architecture removes the asynchronous bridge between JavaScript and native, replacing it with JSI for shared memory between the two layers, significantly improving performance.
  • The New Architecture includes backward compatibility with libraries targeting the old architecture.
  • Implementing synchronous updates via the useLayoutEffect Hook in React can avoid visual glitches and improve user experience.
  • The React Native team has created an app to compare the old and New Architectures and identify performance gaps.
  • If you use React Native 0.76 or later, the New Architecture is the default, requiring no additional configuration.

Read Full Article

like

9 Likes

For uninterrupted reading, download the app