Skip to Content
React 16 Tooling
book

React 16 Tooling

by Adam Boduch, Christopher Pitt
April 2018
Intermediate to advanced content levelIntermediate to advanced
298 pages
6h 34m
English
Packt Publishing
Content preview from React 16 Tooling

Starting the development server

If you created a React application using the create-react-app tool in the previous chapter, then you have everything you need to launch a development server. No configuration is necessary! Let's start it up right now. First, make sure that you're in the project directory:

cd my-react-app/ 

Now you can start the development server:

npm start 

This will start the development server using the start script from the react-scripts package. You should see the console output that looks like this:

Compiled successfully!
    
You can now view my-react-app in the browser.
    
  Local:            http://localhost:3000/
  On Your Network:  http://192.168.86.101:3000/
    
Note that the development build is not optimized.
To create a production build, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pro React 16

Pro React 16

Adam Freeman

Publisher Resources

ISBN: 9781788835015Supplemental Content