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

Update Tutorial snippet for creating react app #4198

Merged
merged 1 commit into from
Jan 3, 2020
Merged

Update Tutorial snippet for creating react app #4198

merged 1 commit into from
Jan 3, 2020

Conversation

jonahsnider
Copy link
Contributor

@jonahsnider jonahsnider commented Dec 20, 2019

Instead of globally installing create-react-app with npm we can use Yarn's create command to do this.
Yarn is already assumed to be installed since it's used in the next step.

Create React App has also written that globally installing it is not supported any more and npx or yarn create should be used instead.

Read more about yarn create here: https://yarnpkg.com/lang/en/docs/cli/create/

Instead of globally installing `create-react-app` with npm we can use Yarn's create command to do this.
Yarn is already assumed to be installed since it's used in the next step.

Read more about `yarn create` here: https://yarnpkg.com/lang/en/docs/cli/create/
Copy link
Contributor

@ThieryMichel ThieryMichel left a comment

Choose a reason for hiding this comment

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

Nice catch

@ThieryMichel ThieryMichel merged commit af962d3 into marmelab:master Jan 3, 2020
@jonahsnider jonahsnider deleted the patch-1 branch January 3, 2020 10:40
@fzaninotto fzaninotto added this to the 3.1.2 milestone Jan 3, 2020
@fzaninotto fzaninotto changed the title docs: use Yarn create command in tutorial Update Tutorial snippet for creating react app Jan 3, 2020
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