Create a Preact App from Scratch

I wrote these instructions after having written my previous instructions Create a React App from Scratch. The process is almost identical. The result is a much smaller app.

A basic preact application needs npm, yarn, babel, and webpack. This is a step by step guide to installing these things and setting up a minimal initial preact project.
Continue reading “Create a Preact App from Scratch”

Create a React App from Scratch

A basic react application needs npm, yarn, babel, and webpack. This is a step by step guide to installing these things and setting up a minimal initial react project.

I’ll assume you have npm and yarn already installed. Go install those if you don’t regularly use them. You can substitute npm commands for the yarn commands below, if you like. I use yarn so my instructions are tailored to it.
Continue reading “Create a React App from Scratch”