React setup (from scratch!)
going from nothing to a boilerplate for your future React projects
Many tutorials mention create-react-app
to anyone new to React, but create-react-app
introduces redundant files and things that can confuse the React learner...
Instead, let's start a React project from scratch - we will:
initialize the project with a
package.json
fileinstall a few dependencies (including
react
itself)create the foundational
public/index.html
filecreate our foundational
index.js
entry point filecreate our
App
file (using JSX)create other component files
run our app
Last updated