Skip to content

Commit 28b1874

Browse files
authored
Fix steps for creating a new app to avoid incompatible versions of react-native and react-native-windows being used (#1009)
## Description Fix steps for creating a new app to avoid incompatible versions of `react-native` and `react-native-windows` being used ### Why Prevents bad experience for new users of RNW. An issue was hit where using the latest version of `react-native` (0.78) to create an app would lead to it being incompatible with the latest version of `react-native-windows`. These steps make sure that the user is using a compatible version of `react-native` for their desired version of `react-native-windows`. ## Screenshots Add any relevant screen captures here from before or after your changes. ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoft/react-native-windows-samples/pull/1009)
1 parent 686f70e commit 28b1874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/versioned_docs/version-0.77/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Remember to call `@react-native-community/cli init` from the place you want your
2626
<!-- See https://www.npmjs.com/package/react-native?activeTab=versions for the RN version tags. -->
2727

2828
```bat
29-
npx --yes @react-native-community/cli@next init <projectName> --version "latest"
29+
npx --yes @react-native-community/cli@next init <projectName> --version "^0.77.0"
3030
```
3131

3232
### Navigate into this newly created directory

0 commit comments

Comments
 (0)