/an-almost-static-stack

An example of using create-react-app to bridge the gap between static sites and single page apps

Primary LanguageJavaScript

An Almost Static Stack

An Almost Static Stack

This repo serves as a companion to the tutorial of the same name, over on Medium.

Getting Started

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.

Create React App

This project was bootstrapped with Create React App.

You can find more information here.

Performance and Optimisations

@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