DEV Community

Discussion on: Best Static Site Generator to use in 2020

 
leob profile image
leob

Yes now I see your explanation I think it does make sense, thanks!

That's an eye opener. What's funny is that most blog articles and even the Gatsby docs themselves suggest (or even state) that Gatsby actually generates a static site and not an SPA.

I think that's not intentionally misleading or wholly inaccurate, it's just a technically simplified description. The way you explain it is the "accurate" version :-)

I now understand why you said that the bundle size is bigger (and why that's true).

So when you think about what Gatsby is doing it's pretty nifty, giving you the "illusion" of a static site (and actually all of its advantages, in terms of speed and SEO) but at the same time allowing SPA like capabilities. It's like "having your cake and eating it too" :-)