...

/

Setting up the create-react-app

Setting up the create-react-app

In this lesson, we Install node and npm to set up a create-react-app project and have a look at a React class component

We'll cover the following...

Installing node

If you are developing with JavaScript, there is no way around node and npm. You can find the installation instructions on the official website. Installing node will install npm (node package manager) as well. The node package manager is used to install libraries/frameworks (node packages) using the command line for your project whereas the ‘node’ command itself can be used to compile and run a JS file in a terminal, i.e.

$ node example.js ...