Today I Learned

hashrocket A Hashrocket project

Gatsby 404 Static Sitemap

Iterating through a process of building many static Gatsby.js pages at once, I discovered a hacky way to see what pages have been built. Visit a page that doesn't exist, and Gatsy's development 404 page will provide a sitemap with links to all the static pages.

demo

It's a little nicer than digging through the filesystem.

See More #react TILs
Looking for help? At Hashrocket, our JavaScript experts launch scalable, performant apps on the Web, Android and iOS. Contact us and find out how we can help you.