The End Of My Gatsby Journey<\/h1>\nJuan Diego Rodr\u00edguez<\/address>\n 2024-03-06T08:00:00+00:00
\n 2025-06-20T10:32:35+00:00
\n <\/header>\n
A fun fact about me is that my birthday is on Valentine\u2019s Day. This year, I wanted to celebrate by launching a simple website that lets people receive anonymous letters through a personal link. The idea came up to me at the beginning of February, so I wanted to finish the project as soon as possible since time was of the essence.<\/p>\n
Having that in mind, I decided not to do SSR\/SSG with Gatsby for the project but rather go with a single-page application (SPA) using Vite and React \u2014 a rather hard decision considering my extensive experience with Gatsby. Years ago, when I started using React and learning more and more about today\u2019s intricate web landscape<\/a>, I picked up Gatsby.js<\/a> as my render framework of choice because SSR\/SSG was necessary for every website, right?<\/p>\nI used it for everything<\/em>, from the most basic website to the most over-engineered project. I absolutely loved it and thought it was the best tool, and I was incredibly confident in my decision since I was getting perfect Lighthouse scores in the process.<\/p>\nThe years passed, and I found myself constantly fighting with Gatsby plugins, resorting to hacky<\/em> solutions for them and even spending more time waiting for the server to start. It felt like I was fixing more than making. I even started a series for this magazine all about the \u201cGatsby headaches\u201d I experienced most<\/a> and how to overcome them.<\/p>\nIt was like Gatsby got tougher to use with time because of lots of unaddressed issues: outdated dependencies, cold starts, slow builds, and stale plugins, to name a few. Starting a Gatsby project became tedious for me, and perfect Lighthouse scores couldn\u2019t make up for that.<\/p>\n
So, I\u2019ve decided to stop using Gatsby as my go-to framework.<\/p>\n
To my surprise, the Vite + React combination I mentioned earlier turned out to be a lot more efficient than I expected while maintaining almost the same great performance measures as Gatsby. It\u2019s a hard conclusion to stomach after years of Gatsby\u2019s loyalty.<\/p>\n
I mean, I still think Gatsby is extremely useful for plenty of projects, and I plan on talking about those in a bit. But Gatsby has undergone a series of recent unfortunate events after Netlify acquired it, the impacts of which can be seen in down-trending results from the most recent State of JavaScript survey<\/a>. The likelihood of a developer picking up Gatsby again after using it for other projects plummeted from 89% to a meager 38% between 2019 and 2022 alone.<\/p>\n<\/p>\n <\/p>\n
<\/p>\n
<\/a>\n A ranking of the rendering frameworks retention. (Large preview<\/a>)
\n <\/figcaption><\/figure>\nAlthough Gatsby was still the second most-used rendering framework as recently as 2022 \u2014 we are still expecting results from the 2023 survey \u2014 my prediction is that the decline will continue and dip well below 38%.<\/p>\n<\/p>\n <\/p>\n
<\/p>\n
<\/a>\n A ranking of the usage of the rendering framework. (Large preview<\/a>)
\n <\/figcaption><\/figure>\nSeeing as this is my personal farewell to Gatsby, I wanted to write about where, in my opinion, it went wrong, where it is still useful, and how I am handling my future projects.<\/p>\n
\n
\n 2025-06-20T10:32:35+00:00
\n <\/header>\n
I used it for everything<\/em>, from the most basic website to the most over-engineered project. I absolutely loved it and thought it was the best tool, and I was incredibly confident in my decision since I was getting perfect Lighthouse scores in the process.<\/p>\n The years passed, and I found myself constantly fighting with Gatsby plugins, resorting to hacky<\/em> solutions for them and even spending more time waiting for the server to start. It felt like I was fixing more than making. I even started a series for this magazine all about the \u201cGatsby headaches\u201d I experienced most<\/a> and how to overcome them.<\/p>\n It was like Gatsby got tougher to use with time because of lots of unaddressed issues: outdated dependencies, cold starts, slow builds, and stale plugins, to name a few. Starting a Gatsby project became tedious for me, and perfect Lighthouse scores couldn\u2019t make up for that.<\/p>\n So, I\u2019ve decided to stop using Gatsby as my go-to framework.<\/p>\n To my surprise, the Vite + React combination I mentioned earlier turned out to be a lot more efficient than I expected while maintaining almost the same great performance measures as Gatsby. It\u2019s a hard conclusion to stomach after years of Gatsby\u2019s loyalty.<\/p>\n I mean, I still think Gatsby is extremely useful for plenty of projects, and I plan on talking about those in a bit. But Gatsby has undergone a series of recent unfortunate events after Netlify acquired it, the impacts of which can be seen in down-trending results from the most recent State of JavaScript survey<\/a>. The likelihood of a developer picking up Gatsby again after using it for other projects plummeted from 89% to a meager 38% between 2019 and 2022 alone.<\/p>\n <\/p>\n <\/a> Although Gatsby was still the second most-used rendering framework as recently as 2022 \u2014 we are still expecting results from the 2023 survey \u2014 my prediction is that the decline will continue and dip well below 38%.<\/p>\n <\/p>\n <\/a> Seeing as this is my personal farewell to Gatsby, I wanted to write about where, in my opinion, it went wrong, where it is still useful, and how I am handling my future projects.<\/p>\n<\/p>\n
\n <\/figcaption><\/figure>\n<\/p>\n
\n <\/figcaption><\/figure>\n