Minimal React project template
Although it is strongly criticised for its bloat, create-react-app is often a go to when starting a new React project. I like to start things from the bottom up, adding things up as I need them so, I prefer a minimalistic approach.
It’s actually very easy to setup a bare-bones React project using parcel. Here’s how to do it.
Initialise npm project
mkdir react-minimal
cd react-minimal
npm init -y
mkdir src
Some adjustments are needed to package.json. I’m gonna change the main to
source, pointing to the index.html of my project. I’m gonna create an
empty src/index.html for the interim.
