注意
本文档内容仍处于实验阶段,内容会随着版本的迭代进行修改。您可随时在我们的工作组的讨论区发送反馈。 此外,本文档还包含了若干需手动配置的步骤,但这不代表新架构稳定版的最终开发体验。我们仍在开发相关的工具、模板和第三方库,帮助你更快地迁移到新架构上,而非从头开始配置环境。
Getting Started with the New Architecture
This migration guide is designed for React Native library authors and application developers. It outlines the steps you need to follow to roll out the new Architecture, composed by the new NativeModule system (TurboModule) and the new Renderer (Fabric) to your Android and iOS libraries and apps.
Table of Contents
The guide is divided into five sections:
- Supporting the New Architecture in your Library
- Prerequisites for Supporting the New Architecture in JavaScript
- Enabling the New Architecture in your Library
- Supporting the New Architecture in your App
- Prerequisites for Supporting the New Architecture in your App
- Enabling the New NativeModule System (TurboModule) in your App
- Enabling the New Renderer (Fabric) in your App
- React 18 & React Native
- Troubleshooting
- Appendix