Generating a React project

Perform the following steps to learn how to create a React project:

  1. Similarly to the Angular CLI, React has its own application scaffold generator, Create React App. You can generate a new project by running the following command:
npx create-react-app integrate-react
  1. You should see the following output:
Success! Created integrate-react at <path>/integrate-reactInside that directory, you can run several commands: yarn start Starts the development server. yarn build Bundles the app into static files for production. yarn test Starts the test runner. yarn eject Removes this tool and copies build dependencies,  configuration files and scripts into the app directory. If you do this, you can't  go back!We suggest that ...

Get Electron Projects now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.