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

Document using yarn for getting started in readme #3890

Closed
bondz opened this issue Jan 22, 2018 · 5 comments
Closed

Document using yarn for getting started in readme #3890

bondz opened this issue Jan 22, 2018 · 5 comments

Comments

@bondz
Copy link
Contributor

bondz commented Jan 22, 2018

Yarn has support for using create-react-app without first installing the binary via

yarn create react-app app-name

I understand most beginners might not have yarn installed, but it can help avoid issues like #1965.
Yarn is stable and some people would have it on their machine.

I'd have created a PR but I want to understand why it wasn't documented earlier. I've mostly used this option when creating CRA apps, its mostly faster than npm too.

If someone ends up using yarn to install modules after creating an app using npx which currently defaults to npm, yarn does an integrity check and reinstalls the tree. We already document that npm >= 5 does the same thing.

@gaearon
Copy link
Contributor

gaearon commented Jan 22, 2018

Sure, send a PR and let’s look at it

@codeShaurya
Copy link

Is this issue is still available to work ??

@bondz
Copy link
Contributor Author

bondz commented Mar 9, 2018

@codeShaurya See #4038

@codeShaurya
Copy link

Thanks @bondz

@Timer
Copy link
Contributor

Timer commented Apr 15, 2018

Closing since there's an open PR being merged soon.
Thanks, everyone!

@Timer Timer closed this as completed Apr 15, 2018
@lock lock bot locked and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants