March 2019
Beginner to intermediate
324 pages
7h 17m
English
Now, we need to install React. Fortunately, this step was made simple by the introduction of a powerful tool called Create React App. This tool bundles a number of features that allow us to create new React apps, construct them in real-time, and then build them so that they're ready for production.
The tool can be retrieved through the npm package manager. To install the tool, you need to run the following command:
npm install -g create-react-app
This command will install the tool globally, which will allow you to use the tool from anywhere.
Now, in the Terminal, go to the folder where you want your tool to run. To create a new React app in that folder, run the following command:
create-react-app first-react-tutorial
Read now
Unlock full access