Follow

Anyone has good/bad experiences with the Gatsby static site generator? It seems alright

@f0x I just started using it, and I've been decently happy with it.

It's really great if you like using React and don't want to spend a bunch of effort setting up babel, webpack, etc.

The initial state of each page is reified into static HTML pages, so it loads and is visible very quickly, even on slow connections (and is search-friendly). But it does eventually download React and hydrate the page, even if you have no intention of making it dynamic.

@vy hmm that's kinda weird, since I only need these pages to be static

@f0x Yeah. I'm currently making a static site, and I was pleased enough with the build tools and process that I decided to keep using it, even despite that.

@f0x One thing it does is render everything inside its own top-level div. When you hover over an internal link on the page, it goes out and downloads the React component tree for that page, and when you click on the link, it just renders that new view. In practice, it makes the site feel very snappy.

@vy so far what's annoying is the image preload will get stuck on super low res if you have javascript disabled

@f0x Oof, I don’t like that 😵

Can that be disabled?

@vy oh that's not a default optimization, just a custom component the tutorial site uses

Sign in to participate in the conversation
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.