Re:Gatsby raises $28M Series B led by Index Ventures
by jshawl on Wednesday May 27, 2020 @12:51PM
(#23326095)
+1 I wasn’t expecting a “static site generator” to require a JavaScript runtime.
[ Parent
| on HN ]
Re:Gatsby raises $28M Series B led by Index Ventures
by tomnipotent on Wednesday May 27, 2020 @02:46PM
(#23327937)
Technically 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.
Re:Gatsby raises $28M Series B led by Index Ventures
by jshawl on Wednesday May 27, 2020 @05:40PM
(#23330396)
You're right that HTML is generated with `gatsby build`.
All of the CSS is loaded from the webpack runtime though.
Re:Gatsby raises $28M Series B led by Index Ventures
by jlbnjmn on Wednesday May 27, 2020 @08:25PM
(#23331898)
This 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.