1. create-react-app #
Created Monday 20 July 2020
Why #
To avoid manual setup. The script:
- Downloads and installs React and core dependencies.
- Sets up Babel (the transpiler).
- Creates a basic skeleton of the app to start development with.
How #
- Install create-react-app globally from npm.
What #
Steps to create app
- Run
create-react-app
app_name or run it inside a folder with.
as argument. - Dependencies are downloaded,
package.json
is set and the project is agit
folder. - Run
npm start
from the project root to start app.