Skip to content

Document using yarn for getting started in readme #3890

Closed
@bondz

Description

@bondz

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions