Gatsby vs Next - sarahduv-401-advanced-javascript/seattle-javascript-401d32 GitHub Wiki

At first glance..

  • When you first look at Gatsby and next.js, they look similar since they both do the following:
  • Generate very performant websites.
  • Creates SPA out-of-the-box.
  • Creates good SEO out-of-the-box
  • Have an awesome developer experience.
  • Also, neither of them are boilerplates but toolkits

Although they have many similarities, they are at the same time different..

  • Static site generator (Gatsby) vs. server side rendered pages (next.js)
  • Gatsby dictates how you handle your data, but next.js does not

When to use Gatsby

  • When you don't have to worry about scaling, and when you know the data will be static.

When to NOT use Gatsby

  • When you have a lot of data or if you expect it to grow over time. In other words, when you know the data will not remain static.

Source: https://blog.jakoblind.no/gatsby-vs-next/