install react project yarn code example
Example 1: how to create react app using yarn
yarn create react-app my-app
Example 2: yarn react
$ yarn create react-app app-name
yarn create react-app my-app
$ yarn create react-app app-name