Skip to content

Commit 42e0266

Browse files
author
Riccardo
authored
fix: Address missing feedback from prev PR (#3312)
1 parent 4a3b02c commit 42e0266

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

docs/new-architecture-intro.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,9 @@ The guide is divided into five sections:
2222
- [iOS](new-architecture-library-ios)
2323
- **Supporting the New Architecture in your App**
2424
- [Prerequisites for Supporting the New Architecture in your App](new-architecture-app-intro)
25-
- Enabling the New NativeModule System (TurboModule) in your App
26-
- [Android](new-architecture-app-modules-android)
27-
- Enabling the New Renderer (Fabric) in your App
28-
- [Android](new-architecture-app-renderer-android)
25+
- Android
26+
- [Enabling the New NativeModule System (TurboModule) in your App](new-architecture-app-modules-android)
27+
- [Enabling the New Renderer (Fabric) in your App](new-architecture-app-renderer-android)
2928
- [**React 18 & React Native**](react-18-and-react-native)
3029
- [**Troubleshooting**](new-architecture-troubleshooting)
3130
- [**Appendix**](new-architecture-appendix)

docs/react-18-and-react-native.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ On iOS, you'll have access to the `concurrentRootEnabled` method on your `AppDel
110110
/// @return: `true` if the `concurrentRoot` feture is enabled. Otherwise, it returns `false`.
111111
- (BOOL)concurrentRootEnabled
112112
{
113+
// Switch this bool to turn on and off the concurrent root
113114
return true;
114115
}
115116
```

website/versioned_docs/version-0.70/new-architecture-app-intro.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,7 @@ This guide is written with the expectation that you’re using the latest React
1818
To update to the most recent version of React Native, you can run this command:
1919

2020
```bash
21-
yarn add react-native@0.70.0
22-
```
23-
24-
Starting from React Native `0.69.0`, you may also need to update the version of React to 18. You can do so by using this command:
25-
26-
```bash
27-
yarn add react@18.0.0
21+
npx react-native upgrade
2822
```
2923

3024
### Android specifics

0 commit comments

Comments
 (0)