This Lesson is for PRO Members.

Subscribe today and get access to all lessons! Plus direct HD download
for offline use, member comment forums, and iTunes "podcast" RSS feed.
Level up your skills now!

UNLOCK THIS LESSON

Already subscribed? Sign In

HIDE PLAYLIST

30% off

1 Year Pro Membership

Set up React apps with zero configuration in two minutes


The React team has an official Command Line Interface (CLI) for building React projects called "Create React App"; in this lesson, we show how to use this tool to quickly set up new projects using the create-react-app {project-name} command. We then use the npm scripts that are provided: npm start to develop, npm run build to ship, and npm run eject to opt out of the abstracted tooling.

The benefits of this tool are:

  • It's officially maintained by the React team; this means best practices out of the box
  • Zero config, one dependency
  • Config is abstracted so React team can make improvements under the hood and you get the new goodness for free
  • Clean command line output for errors
  • You can "eject" at any time if needed
Please take a moment to tell your friends:

You must be a PRO Member to view code