-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade samples to 0.75 #965
Conversation
@@ -27,26 +27,28 @@ To upgrade this sample to the latest version of RNW: | |||
```cmd | |||
npx @react-native-community/cli@latest init Calculator --template @react-native-community/template@latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
npx @react-native-community/cli@latest init Calculator --template @react-native-community/template@latest | |
npx @react-native-community/cli@latest init Calculator --version latest |
@@ -27,26 +27,28 @@ To upgrade this sample to the latest version of RNW: | |||
```cmd | |||
npx @react-native-community/cli@latest init Calculator --template @react-native-community/template@latest | |||
``` | |||
4. Add Windows support: | |||
4. Add `yarn.lock` file to app directory (otherwise `yarn add react-native-windows@latest` will throw an error) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It'd prefer if you just entered the Calculator folder and ran yarn install
rather than creating a yarn.lock file manually.
4. Add Windows support: | ||
4. Add `yarn.lock` file to app directory (otherwise `yarn add react-native-windows@latest` will throw an error) | ||
|
||
5. Add Windows support: | ||
```cmd | ||
cd Calculator | ||
yarn add react-native-windows@latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You might want to add a comment here about using the version range instead of the word latest
.
Description
Upgrades the Calculator and NativeModule samples to 0.75
Why
Part of 0.75 release: microsoft/react-native-windows#13358
Microsoft Reviewers: Open in CodeFlow