Gatsby
12 articles ยท all categories
June 2026
Using vibes to rewrite my blog
The death of engineering has been greatly exaggerated. You still need to know what you're doing.
November 2023
Don't neglect your upgrades
Regular software updates may seem tedious, but they save you from the nightmare of a massive overhaul down the line.
March 2022
Adding categories to a Gatsby blog (for better SEO)
One of my biggest frustrations since migrating swizec.com from Wordpress to Gatsby was that I never added categories. Always wanted to, never did. Thought it would be super hard. Gatsby made it painless
January 2022
How to add Typeform as a Gatsby source
Every year I ask readers if they're enjoying my newsletter. Then fail to use those responses ๐ This year I said heck it and built a /testimonials page that shows everyone's feedback raw from Typeform. Here's how.
August 2021
Build simple backends with Gatsby Serverless Functions
Until recently adding a little backend to your Gatsby site meant 2 options: 1. Climbing the AWS learning curve 2. Rewrite with NextJS Now there's an /api directory ๐ฑ
June 2021
Hacking the React AST for fun and profit โ #CodeWithSwiz ep34
This is hold my beer level of hackery. It didn't work but we learned lots in the process.
A fun security bug with static rendering โ CodeWithSwiz #31
The flash of unlocked content is great fun for any paywall
May 2021
Build privacy-focused blazing fast tweet embeds โ CodeWithSwiz 30
Twitter embeds every tweet on your page as an iframe. Loads 1.2MB of JavaScript, makes 20+ HTTP requests and uses 100+ DOM nodes. ๐ฉ
Twitter embeds without JavaScript, pt1 โ #CodeWithSwiz 29
Continuing our quest for better Lighthouse scores, more reader privacy, and less JavaScript we attacked the next biggest culprit ๐ Twitter.
November 2020
SSR, SSRwR, SSG, CSR, WTFBBQ???
These abbreviations are getting out of hand. It's like a bad interviewer's wet dream.
Gatsby to NextJS pt1, server-side-render or server-side-generate?
Gatsby and NextJS do similar things differently. One is better for websites, the other for webapps. In episode 17 of CodeWithSwiz we explore the biggest difference.
August 2020
Lessons from migrating a 14 year old blog with 1500 posts to Gatsby
After 4 years of putting it off, 1 year of tinkering, a month of work, and $1500 of hired help, my new blog is finally here ๐ Here's what I learned.