Reader small image

You're reading from  React 16 Tooling

Product typeBook
Published inApr 2018
Reading LevelBeginner
PublisherPackt
ISBN-139781788835015
Edition1st Edition
Languages
Tools
Right arrow
Authors (2):
Adam Boduch
Adam Boduch
author image
Adam Boduch

Adam Boduch has been involved in large-scale JavaScript development for nearly 15 years. Before moving to the frontend, he worked on several large-scale cloud computing products using Python and Linux. No stranger to complexity, Adam has practical experience with real-world software systems and the scaling challenges they pose.
Read more about Adam Boduch

Christopher Pitt
Christopher Pitt
author image
Christopher Pitt

Christopher Pitt is a principal developer for SilverStripe in Wellington, New Zealand. He usually works on open source software, though sometimes you'll find him building compilers and robots.
Read more about Christopher Pitt

View More author details
Right arrow

Installing Create React App


The first step is installing Create React App, which is an npm package: create-react-app. This package should be installed globally because it installs a command on your system that's used to create your React projects. In other words, create-react-app isn't actually part of your React project—it's used to initialize your React project.

Here's how you can install Create React App globally:

$ npm install -g create-react-app

Notice the -g flag in the command—this makes sure that the create-react-app command is installed globally. Once the installation is complete, you can make sure that the command is good to go by running the following:

$ create-react-app -V

> 1.4.1

Now you're ready to use this tool to create your first React app!

Creating your first app

We'll spend the remainder of the chapter creating your first React application with Create React App. Don't worry, this is super easy to do, so it'll be a short chapter. The goal of Create React App is to start building...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
React 16 Tooling
Published in: Apr 2018Publisher: PacktISBN-13: 9781788835015

Authors (2)

author image
Adam Boduch

Adam Boduch has been involved in large-scale JavaScript development for nearly 15 years. Before moving to the frontend, he worked on several large-scale cloud computing products using Python and Linux. No stranger to complexity, Adam has practical experience with real-world software systems and the scaling challenges they pose.
Read more about Adam Boduch

author image
Christopher Pitt

Christopher Pitt is a principal developer for SilverStripe in Wellington, New Zealand. He usually works on open source software, though sometimes you'll find him building compilers and robots.
Read more about Christopher Pitt