There are three approaches:
References:
next exportSSR + Caching:
Parcel:
Create https://hnpwa.com/ demo with react-snap to show what is it capable of.
Just converted a very small project from gatsby back to my normal react boilerplate setup and used react-snap to generate static pages.
— Jake Deichert (@jakedeichert) January 1, 2018
A few weeks ago I was looking for a headless chrome static site generator. react-snap is exactly that.https://t.co/HCWtNRoXnU
Last week I learned that Gatsby breaks down when you have a large site. I ended up using create-react-app and react-snap.
— Aaron Shafovaloff (@aaronshaf) October 30, 2017
I looked into it for my own stuff. Ended up going with create-react-app plus react-snap. Runtime code hasn鈥檛 been the issue for us for a while.
— Josh Duck (@joshduck) July 19, 2018
This project is so valuable and does its job very well. It's amazing that I can use any boilerplate app setup and not have to worry about generating static pages nor being tied to some static framework!
Just saying thanks! If you hadn't of made this, I would have been tempted to very soon... 馃槃
Added this article https://github.com/stereobooster/react-snap/blob/master/doc/anatomy-of-js-static-website-generator.md, it may help to decide
Most helpful comment
This project is so valuable and does its job very well. It's amazing that I can use any boilerplate app setup and not have to worry about generating static pages nor being tied to some static framework!
Just saying thanks! If you hadn't of made this, I would have been tempted to very soon... 馃槃