setting up react yarn code example
Example 1: install react yarn
yarn create react-app my-appCopied
Example 2: create-react-app use npm
create-react-app my-project --use-npm
yarn create react-app my-appCopied
create-react-app my-project --use-npm