3 ms·
+1 I wasn’t expecting a “static site generator” to require a JavaScript runtime.
by jshawl 6y ago
+1 I wasn’t expecting a “static site generator” to require a JavaScript runtime.
- tomnipotent 6y agoTechnically it doesn't. Unless developers add a bunch of logic to run in JS after the page loads (e.g. React's useEffect), everything it needs to render should work just fine without JS enabled.
- jshawl 6y agoYou're right that HTML is generated with `gatsby build`. All of the CSS is loaded from the webpack runtime though.
- jlbnjmn 6y agoThis is my biggest complaint with these supposedly static site generators. The resulting sites are anything but static. My biggest regret of 2020 so far is agreeing to use Gridsome for a site, promised by the docs and a dev that it was a static site with "only as much VueJS as was desired for additional functionality". Yeah, I know now.