Setting up the create-react-app
Explore the process of setting up a React project using create-react-app. Learn to install Node and npm, manage versions with nvm, and understand the initial React class component structure to prepare for deeper JavaScript fundamentals essential for React development.
We'll cover the following...
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...