React Native recently announced the release of 0.68.0, with an opt-in to new architecture and some bug fixes. In this blog, we will briefly see some of the changes in React Native 0.68.0.
This will be the first version of React Native with opt-in support for Fabric Renderer and the TurboModule system. The fabric renderer will improve the communication between React Native and the host platforms like Android, iOS, macOS, etc.
With the new renderer, React Native uses a
Render-Commit-Mount strategy to render React logic to a host platform.
Some breaking changes and version bumps
- React Native has been updated to node 16 (latest LTS).
- Android Gradle Plugin updated to 7.0.1.
- @react-native-community/cli to 7.0.3
- Flipper to 0.125.0
- react-native-codegen to 0.0.9
- Kotlin to 1.6.10
- Soloader to 0.10.3
- Metro to 0.67
- react-devtools-core dependency to 4.23.0
- Android compile and target SDK to 31
There have been quite a few improvements to the React Native website. Contributing and Architecture sections have been added to the main toolbar making it more easily accessible. Also, these sections are now unversioned.
With the modifications in the core architecture, this looks like a promising upgrade for React Native and will improve the application performance drastically. Refer to this article for more information about the upgrade.