Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/superhighfives/an-almost-static-stack
An example of using create-react-app to bridge the gap between static sites and single page apps
https://github.com/superhighfives/an-almost-static-stack
Last synced: 9 days ago
JSON representation
An example of using create-react-app to bridge the gap between static sites and single page apps
- Host: GitHub
- URL: https://github.com/superhighfives/an-almost-static-stack
- Owner: superhighfives
- Created: 2017-02-02T17:05:52.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T22:16:44.000Z (almost 2 years ago)
- Last Synced: 2024-08-01T17:19:47.572Z (3 months ago)
- Language: JavaScript
- Homepage: https://yadg.surge.sh
- Size: 1.61 MB
- Stars: 267
- Watchers: 5
- Forks: 29
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- -awesome-create-react-app - An Almost Static Stack. CRA + react-snapshot - Bridge the gap between static sites and single page apps. (CRAFT Templates)
- awesome-create-react-app - An Almost Static Stack. CRA + react-snapshot - Bridge the gap between static sites and single page apps. (CRAFT Templates)
README
![An Almost Static Stack](https://i.imgur.com/NStGYap.jpg)
# An Almost Static Stack
This repo serves as a companion to the [tutorial of the same name, over on Medium](https://medium.com/superhighfives/).
## Getting Started
``` shell
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](https://surge.sh), run:
``` shell
yarn deploy
```Voila!
If you're not into [Yarn](https://yarnpkg.com/), `npm install`, `npm start` and `npm run deploy` all work as well.
## Create React App
This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app).
You can find more information [here](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md).
## Performance and Optimisations
[@stereobooster](https://github.com/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