react native的新架构
Starting from version 0.68, React Native provides the New Architecture, which offers developers new capabilities for building highly performant and responsive apps. (https://reactnative.dev/docs/the-new-architecture/landing-page)
Pillars of the New Architecture:
- The New Native Module System - Turbo Modules, a framework to support efficient and flexible integration with native code
- The New Native Renderer - Fabric, which offer improved capabilities, cross-platform consistency, and performance in rendering
- The Codegen, which generates boilerplate C++ required by the New Architecture via static typing in JavaScript
Create New Architecture app: https://reactnative.dev/docs/the-new-architecture/use-app-template
新架构的介绍:https://reactnative.dev/docs/the-new-architecture/pillars
兼容性:https://reactnative.dev/docs/the-new-architecture/backward-compatibility
Migrating to the New Architecture: https://reactnative.dev/docs/new-architecture-intro