Skip to content
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

Merged
merged 13 commits into from
Sep 23, 2024
Merged

Conversation

Yajur-Grover
Copy link
Contributor

@Yajur-Grover Yajur-Grover commented Aug 28, 2024

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

@Yajur-Grover Yajur-Grover requested a review from a team as a code owner August 28, 2024 17:45
@@ -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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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)
Copy link
Contributor

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
Copy link
Contributor

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.

@Yajur-Grover Yajur-Grover merged commit 1608dff into microsoft:main Sep 23, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants