release notes
release notes
Published 8/4/2022
Pre-ReleasePre-releaseTo try it, run:
npx react-native init RN070RC2 --version 0.70.0-rc.2
You can participate in the conversation on the status of this release in the working group
To help you upgrade to this version, you can use the upgrade helper ⚛️
The full list of changes in release can read in the changelog PR
We need your help testing one feature in particular with this RC (autolinking of TurboModules from libraries)! Here is what you have to do:
cd iosbundle install && RCT_NEW_ARCH_ENABLED=1 bundle exec pod install(or RCT_NEW_ARCH_ENABLED=1 pod install)cd ..yarn iosgradle.propertiestrueyarn androidLOG Running "RN070RC1" with {"fabric":true,"initialProps":{"concurrentRoot":true},"rootTag":1}yarn add <lib>RCT_NEW_ARCH_ENABLED=1 pod install for iOS), verify that the lib added works correctlyandroid/app/build/generated/rncli/src/main/jni/Android-rncli.mk that there's a reference to the library added, something along the lines of
include <path>/node_modules/react-native-safe-area-context/android/build/generated/source/codegen/jni/Android.mk
import-codegen-modules := \
libreact_codegen_safeareacontext
Bonus points: It would be even better if you could swap things around: instead of using a fresh new app, use a more complex one - or use a different library that is already leveraging the new architecture!
release notes
Published 8/4/2022
Pre-ReleasePre-releaseTo try it, run:
npx react-native init RN070RC2 --version 0.70.0-rc.2
You can participate in the conversation on the status of this release in the working group
To help you upgrade to this version, you can use the upgrade helper ⚛️
The full list of changes in release can read in the changelog PR
We need your help testing one feature in particular with this RC (autolinking of TurboModules from libraries)! Here is what you have to do:
cd iosbundle install && RCT_NEW_ARCH_ENABLED=1 bundle exec pod install(or RCT_NEW_ARCH_ENABLED=1 pod install)cd ..yarn iosgradle.propertiestrueyarn androidLOG Running "RN070RC1" with {"fabric":true,"initialProps":{"concurrentRoot":true},"rootTag":1}yarn add <lib>RCT_NEW_ARCH_ENABLED=1 pod install for iOS), verify that the lib added works correctlyandroid/app/build/generated/rncli/src/main/jni/Android-rncli.mk that there's a reference to the library added, something along the lines of
include <path>/node_modules/react-native-safe-area-context/android/build/generated/source/codegen/jni/Android.mk
import-codegen-modules := \
libreact_codegen_safeareacontext
Bonus points: It would be even better if you could swap things around: instead of using a fresh new app, use a more complex one - or use a different library that is already leveraging the new architecture!
A framework for building native applications using React