Rant HN: Next.js and Gatsby are not static site generators
> A static web page (sometimes called a flat page or a stationary page) is a web page that is delivered to the user's web browser exactly as stored,[1] in contrast to dynamic web pages which are generated by a web application.[2]
what Next.js and Gatsby actually do is they statically source your content and generate a dynamic React App
the generated React App then adds dynamic functionality, for example if you navigate the page instead of redirecting you to the page itself, it will redirect to a virtual route
once you hit the virtual route, Gatsby for example will fetch a .json file with the page contents and render it dynamically via React
now, what's the deal? here's the deal: if your website needs javascript to work, it is not static per se!
if your aim is to create a truly static site, you should use a real static site generator, examples: Hugo, Zola and Jekyll
stop calling Next.js and Gatsby static site generators! They are not, they are React App generators with statically sourced (bundled) content