This repo serves as a companion to the tutorial of the same name, over on Medium.
git clone https://github.com/superhighfives/an-almost-static-stack.git
cd an-almost-static-stack
yarn install
yarn start
Once you're ready to deploy to Surge, run:
yarn deploy
Voila!
If you're not into Yarn, npm install
, npm start
and npm run deploy
all work as well.
This project was bootstrapped with Create React App.
You can find more information here.
@stereobooster has put together a great run thorugh of possible performance optimisations and links to further reading here: https://github.com/stereobooster/react-snap/blob/master/doc/an-almost-static-stack-optimization.md