You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Yarn has support for using create-react-app without first installing the binary via
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 usingnpx
which currently defaults tonpm
, yarn does an integrity check and reinstalls the tree. We already document thatnpm >= 5
does the same thing.The text was updated successfully, but these errors were encountered: