Next.js vs Gatsby – Which One To Choose?
Tags: gatsby, nextjs, webdev
Published: 2020-12-01 15:07:21

<p>Server-side rendering for <a href="https://pagepro.co/" target="_blank" rel="noreferrer noopener">React apps</a> gave birth to many great features, possibilities, and tool like Gatsby.js and Next.js</p>

<p>It became an extremely popular topic, mostly because of all the blessings it gives to web app development, user experience improvements, and the ability to support digital marketing efforts more efficiently.</p>

<p>Meanwhile, we’ve also been introduced to <a href="https://pagepro.co/blog/what-is-jamstack/" target="_blank" rel="noreferrer noopener">JAMStack</a> - a web development architecture that makes scaling up much easier.</p>

<p>In the world of React JAMStack, we have two main competitors: <a href="https://www.gatsbyjs.com/" target="_blank" rel="noreferrer noopener nofollow">Gatsby.js</a> and <a href="https://nextjs.org/" target="_blank" rel="noreferrer noopener nofollow">Next.js</a>.</p>

<p>Both do great things, both are growing up quickly, developers love both, and unconsciously by users.</p>

<p>The question remains: which one is better to work with? And, of course, in which case?</p>

<h2>Next.JS &amp; Gatsby are the kings of the JAMstack world</h2>

<p>If you want to build a React powered and indexed by Google web application you will need to choose between Gatsby &amp; Next JS which are the most popular tools to do this job.</p>

<p>Of course, choosing the right tech stack depends on your project requirements, but let’s assume you want to build a JAMStack website that needs to be:</p>

<ul><li><strong>Indexed by Google</strong>, because you want to grow your organic traffic,</li><li><strong>Performant</strong>, because you want to provide the best user experience possible,</li><li><strong>Written in React</strong>, because of its component-based approach for building user interfaces,</li><li><strong>Integrated with a headless CMS</strong> because you need to be able to change content frequently,</li><li><strong>PWA</strong> (progressive web app) ready.</li></ul>

<p>Let’s see how both can help us achieve the desired result.</p>

<h2>Similarities between Gatsby.js and Next.js</h2>

<figure class="wp-block-image size-large is-resized"><img src="https://pagepro.co/blog/wp-content/uploads/2020/09/image-3.png" alt="" class="wp-image-4477" width="432" height="192"/></figure>

<h3 class="has-vivid-red-color has-text-color">Performant, accessible, and SEO friendly websites.</h3>

<p>Thanks to SSG or SSR in both tools, your web app can be indexed in Google much easier.</p>

<p>This enables you to attract many more visitors through organic search traffic.</p>

<p>To rank higher:</p>

<ul><li>your content needs to be well written and SEO optimized,</li><li>you need to provide a great user experience for your visitors,</li><li>you need to take care of website speed metrics.</li></ul>

<p>And this is where performance really matters.</p>

<p>Gatsby is a perfect tool for achieving performance results, as it is statically generating HTML for final users (and in fact also search engines).</p>

<p>But not to leave the competitor behind, the same thing is possible with NextJS.</p>

<p>So in case of performance, both allow us to achieve truly outstanding results.</p>

<h3 class="has-vivid-red-color has-text-color">React behind</h3>

<p>Both Gatsby and Next are using React JS so you can benefit from all of the cool stuff like:</p>

<ul><li>Component-based approach,</li><li>a lot of UI kits available that can shorten the time for development,</li><li>wide access to developers,</li><li>great DX - developer experience (devs like to work with React),</li><li>and <a href="https://pagepro.co/blog/react-js-pros-and-cons-in-2020/" target="_blank" rel="noreferrer noopener">much more</a>.</li></ul>

<p>The question arises: </p>

<blockquote class="wp-block-quote"><p>why do I even need GatsbyJS or NextJS? Isn’t React good enough?</p></blockquote>

<p>To put it very simple, React by itself works only on the client-side (your browser) and does not provide server-side rendering. In other words, it does not provide all the super speed and SEO blessings at the level of Gatsby or Next.</p>

<p>P.S. If you want to check <strong>how React can impact your business</strong>, have a look at our report:</p>

<figure class="wp-block-embed-wordpress aligncenter wp-block-embed is-type-wp-embed is-provider-pagepro-blog"><div class="wp-block-embed__wrapper">
https://pagepro.co/blog/react-in-a-business-perspective/
</div></figure>

<h3 class="has-vivid-red-color has-text-color">JAMStack Kings</h3>

<p>Both solutions are following the JAMStack architecture we mentioned before.</p>

<p>By reading <a href="https://jamstack.org/" target="_blank" rel="noreferrer noopener nofollow">the official source</a>, you can learn that JAMStack allows you to get:</p>

<ul><li>Much better performance,</li><li>higher security,</li><li>cheaper na easier scaling,</li><li>better developer experience.</li></ul>

<h3 class="has-vivid-red-color has-text-color">Simplifying and speeding up web development</h3>

<p>Both tools are providing a boilerplate - a fixed project structure that needs to be followed during the development.</p>

<p>Having a boilerplate has many great advantages. For example:</p>

<ul><li>Better documentation,</li><li>better tooling,</li><li>easier setup,</li><li>better development experience,</li><li>easier project handover.</li></ul>

<p>Thanks to that, both Gatsby and Next can significantly simplify and speed up the React app/website development cycle.</p>

<h3 class="has-vivid-red-color has-text-color">A choice of big players</h3>

<p>Both tools are used by big players who care about technology and are future proof professionals.</p>

<figure class="wp-block-table is-style-regular"><table class="has-fixed-layout"><tbody><tr><td><strong>Next.js</strong></td><td><strong>Gatsby.js</strong></td></tr><tr><td>Mobile version of Twitch,<br>Netflix Jobs website,<br>Hulu,<br>IGN,<br>TikTok,<br>InVision.</td><td>Airbnb Engineering,<br>Impossible Foods,<br>Braun Canda,<br>Figma,<br>SendGrid,<br>Nike.</td></tr></tbody></table></figure>

<p class="has-text-align-center">Source: <a href="https://start-up.house/en/blog/articles/gatsby-or-next" target="_blank" rel="noreferrer noopener nofollow">https://start-up.house/en/blog/articles/gatsby-or-next</a></p>

<h2>Differences between Next.JS &amp; Gatsby</h2>

<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img src="https://pagepro.co/blog/wp-content/uploads/2020/09/image-2-1024x405.png" alt="" class="wp-image-4476" width="432" height="170"/></figure></div>

<h3 class="has-vivid-red-color has-text-color">SSG vs SSG + SSR</h3>

<p>Gatsby JS is a static site generator (SSG), this is the only way it’s working.</p>

<p>Next.js initially was a server-side rendering tool, but since version 9.3 it also supports SSG.</p>

<h3 class="has-vivid-red-color has-text-color">Data handling</h3>

<p>In this case, Next.js is much more flexible, as he enables developers to decide themselves how to approach data fetching.</p>

<p>Gatsby, on the other hand, enables you to use GraphQL only. It gives a solid standard of handling data, but for some small projects, it can be an overkill.</p>

<h3 class="has-vivid-red-color has-text-color">Community</h3>

<p>JAMStack websites took web development by storm. So did Gatsby.</p>

<p>Developers immediately picked it up and fell in love, as it was extremely pleasant to work with. On top of that, it also became one of <a href="https://2019.stateofjs.com/overview/" target="_blank" rel="noreferrer noopener nofollow">the hottest technologies in 2019</a>.</p>

<p>People behind Gatsby itself are also working hard to engage their community. They run an interesting agency program to support companies that are doing JAMstack projects powered with Gatsby.</p>

<p>More than that, if you look at the <a href="https://www.gatsbyjs.com/showcase/" target="_blank" rel="noreferrer noopener nofollow">Gatsby showcase</a>, it is very big (1101 today) in comparison with the <a href="https://nextjs.org/showcase" target="_blank" rel="noreferrer noopener nofollow">Next showcase</a> (around 100 today).</p>

<h3 class="has-vivid-red-color has-text-color">Plugins, themes, extensions, integrations</h3>

<p>Gatsby.js enables you to use many plug-ins, which can make your life a bit easier.</p>

<p>On the other hand, Next.js is encouraging you to build everything by yourself, which gives you pretty much unlimited possibilities and freedom in the execution. It means Next is better for ultra-customised projects.</p>

<h2>Real-world use cases of Gatsby.js</h2>

<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img src="https://pagepro.co/blog/wp-content/uploads/2020/09/image-4-1024x457.png" alt="" class="wp-image-4478" width="363" height="161"/></figure></div>

<p>The great source of Gatsby website examples is Gatsby Showcase but to have a full picture of Gatsby features let me present you a few other examples.</p>

<h3 class="has-vivid-red-color has-text-color">Corporate websites (companies, service websites, marketing info sites)</h3>

<p>Corporate websites are like digital business cards. They need to work super fast and are not updated very frequently.</p>

<p>These kinds of websites are displaying the same information for anyone visiting the site (no login &amp; register functionalities, just plain information).</p>

<p>So, a corporate website requirements will be:</p>

<ul><li>Great user experience (preloading)</li><li>Great performance (Google Page Speed)</li><li>Full SEO support (HTML output)</li><li>Integration with (headless) CMS</li></ul>

<p>As Gatsby SSG performance is better than Next JS SSR &amp; SSG, Gatsby is the winner there.</p>

<p>Corporate websites should be managed by CMS, and this is also why Gatsby wins over Next, as it offers support for plugins to get content from almost all CMSs, databases, REST APIs, and GraphQL.</p>

<p>In summary, Gatsby wins because of:</p>

<ul><li>Better performance than Next JS</li><li>Shorter development time with a wide range of Gatsby plugins, starters, themes and integrations with headless CMSes</li></ul>

<p><strong>Examples of super fast corporate websites built in Gatsby:</strong></p>

<p><a href="http://www.digitalocean.com" target="_blank" rel="noreferrer noopener nofollow">Digital Ocean</a></p>

<p><img src="https://lh5.googleusercontent.com/b9q41db7IjbAGBZwCCSLpZ4cJ7aqDIrw9EAFnLra95xExgtk0R-EkBx3lyNsfzWtOnW4aMvgF-6B0lPtBer4Xityws1KGeUZEAbq3pcomSM6HRA0pBl1gjghXWgfSRNP5jzkg53w" style="width: 720px;"></p>

<p><a href="https://autoloadit.com/" target="_blank" rel="noreferrer noopener nofollow">AutoloadIT</a></p>

<p><img src="https://lh5.googleusercontent.com/DbojFSSJNQey9XxiDlv1mTGfXlzXOgjgxQx2dnGxEc_dTmQg0W6JXAMDP1RPn5ZP6RTFqZ2UHWqpHwHm-dsCBqOzWIlMT9ku-ij7B19hQecCpkP2Zc74Ug9BzzThEbWOYf2j7Kaq" style="width: 720px;"></p>

<p><a href="http://www.jimdo.com" target="_blank" rel="noreferrer noopener nofollow">JIMDO</a></p>

<p><img src="https://lh3.googleusercontent.com/z7pUtZOUqR3-hUnjMxo9axeNotWNoAM2d55h872d52wVC7riViLe8Z-D0mpCXj7nOJxc-NBt_lOZihYtuy37bFnbEmZ-2nykQKZrYyHb3_S-y9Riykw0yTNF_ECMoo37BhJGTfw2" style="width: 720px;"></p>

<h3 class="has-vivid-red-color has-text-color">Public pages for any B2B or SaaS product websites</h3>

<p>The main goal of B2B and SaaS websites is to convert visitors into customers.</p>

<p>This is where speed and user experience are both extremely important factors.</p>

<p>When you have calculated the cost of your lead you are now able to estimate and calculate ROI of a faster website (with lower bounce rate and higher organic search traffic).</p>

<p>B2B and SaaS product website requirements:</p>

<ul><li>Great User Experience &amp; Performance</li><li>Full SEO support</li><li>Integrations with user analytics, and automation marketing tools</li><li>Integrations with CRM</li></ul>

<p>And once again, the winner here is Gatsby.js, mostly because of:</p>

<ul><li>Better performance than Next JS</li><li>Shorter development time with a wide range of Gatsby plugins, starters, themes and integrations with headless CMSes</li></ul>

<p>Examples of B2B and SaaS product pages built with Gatsby.js:</p>

<p><a href="http://www.sendgrid.com" target="_blank" rel="noreferrer noopener nofollow">SendGrid</a></p>

<p><img src="https://lh6.googleusercontent.com/FxacjHUchiBQh-cZ4PjupIuUCAvDtkH-mcwZ83HC4SHHrpYRdWd0iBzQZUWZDnkkEBYoP1IV3l9Py264QYJxJMXBoY7dwHlxCPK9_ec7e1elidtDp2O5IC48m7QPHxTY8WwfA7Eh" style="width: 720px;"></p>

<p><a href="http://www.hasura.io" target="_blank" rel="noreferrer noopener nofollow">HASURA</a></p>

<p><img src="https://lh6.googleusercontent.com/rARU5r3HL4cJzrIviIfC-crfKSc61Z-RCfpOwrqqGDYYtMV6QUc3wZjRVaqkD9HuNslqu6iImG0lVs51uHfo-BBGwkwB4yBKFKT_R-7APMt8TWf4pRdOpjcn8w-_5gUAcDAk8HTx" style="width: 720px;"></p>

<p><a href="http://www.jimdo.com" target="_blank" rel="noreferrer noopener">JIMDO</a></p>

<p><img src="https://lh6.googleusercontent.com/IO9Qpf9ScVTPnvzn8s8zylxYrCBUgc76s6Lq26B7dPC1MkDYyzBvyoRdbsvpWXtcMe4lkGGCOK71bCaxXnv5YPxZLTVaCEJSXi_biZ9Y3TwOMy51YU4zTDLvDSDi9AQTqUdFrCkM" style="width: 720px;"></p>

<h3 class="has-vivid-red-color has-text-color">Individuals’ blog websites</h3>

<p>As an individual you want to have a blog that is:</p>

<ul><li>Cheap to host</li><li>Easy to Edit</li><li>Advanced in technologies</li></ul>

<p>Any static generated website is cheap to host, as you can host it for free using:</p>

<ul><li>GitHub Pages</li><li>Netlify</li><li>Vercel</li></ul>

<p>One of the most important things in having a blog is to be extremely SEO efficient, and obviously, it’s great to save cost on hosting, and this is why Gatsby is a winner here.</p>

<p>Examples of Individuals blog websites:</p>

<p><a href="http://www.kentcdodds.com" target="_blank" rel="noreferrer noopener nofollow">Kent C. Dodds</a></p>

<p><img src="https://lh6.googleusercontent.com/Drjp0R46K4GqdU9T9Fs7CgXAQMB0Bq_mNBTkyyGuwZLaNHxNs8n3mHJsHU-z4uktcGnwLfVNe8FE7KPnWJXId7lJC3KHjpi6E-7OzvrLz9IfMR1Tje0tmn7l-eM1qTZqNhAOgr_u" style="width: 720px;"></p>

<p><a href="http://www.mostrecommendedbooks.com" target="_blank" rel="noreferrer noopener nofollow">Most Recommended Books</a></p>

<p><img src="https://lh3.googleusercontent.com/r_CRWmA87Mc7cIVyaBwthxISw8kvIpv3Snc8O-_fg2VQvfXy6JbtC2STXp7gbW8eik0S90CO67f3ng3k3zRo1qAs4lVJm6C2kWtBQLoZnQH8t7fUinUc-cN-MRgJqSIVXgTK_K6c" style="width: 720px;"></p>

<p><a href="http://www.jacobdcastro.com" target="_blank" rel="noreferrer noopener nofollow">Jacob D. Castro</a></p>

<p><img src="https://lh3.googleusercontent.com/x31VkWXw_ynDMN4hX1HX1e2EFAOgRjgqSKeDNr7EfSIqr90y4clIoYSXskoOaX9a91Vq9NKQo7lGg9BU04HY5orZuAP8uayk-ROcNSlBNyhb6_xcGIY7axM4HrZJXwtvri92U8ya" style="width: 720px;"></p>

<h3 class="has-vivid-red-color has-text-color">Digital Agency Websites</h3>

<p>Agency websites need to shine and prove that you (as an agency) put a lot of attention in every project, also internal, like your own company website.</p>

<p>So, most important requirements for a Digital Agency website could be:</p>

<ul><li>Advanced technologically</li><li>Super performant</li><li>Covering all aspects of Usability, Accessibility and SEO</li></ul>

<p>Thanks to Gatsby, you can present your website’s performance, SEO efficiency, as well as a pleasant user experience, and this is why Gatsby is a winner in this case.</p>

<p>Examples:</p>

<p><a href="http://www.roboto.studio" target="_blank" rel="noreferrer noopener nofollow">Roboto Studio</a></p>

<p><img src="https://lh4.googleusercontent.com/iBJODO4q5ZonfufHSkbMN55fSCL5KXNP3zgoMFicMEGScXX5P7wSvCINjmV6FOtC19PKe99L7nMTXxlzvdj6Oi_Nqu-5LVc-BYLTR0dHYHGeJrFWyoqGBIUazs-DGucW4xJXYkR_" style="width: 720px;"></p>

<p><a href="http://www.madewithlove.com" target="_blank" rel="noreferrer noopener nofollow">Made With Love</a></p>

<p><img src="https://lh5.googleusercontent.com/GIgdVKwM6eEb9J-jO5lMCB0MXOOEjU0bXlJjosf1dqJt4aKuJ_9CAbaCiHM3kwhxOhzstB5f6mpnyg-bpBuLLdwzCOBoZlKkKfpzKVR76JWaBoFZ2Sy0MXaSSyIX9Xc8spJ4PfhN" style="width: 720px;"></p>

<p><a href="http://www.thirdandgrove.com" target="_blank" rel="noreferrer noopener nofollow">Third And Grove</a></p>

<p><img src="https://lh6.googleusercontent.com/6xnIek911zylNtsyMkdbrSOmFlR5WF0pe8iuFC5luWoux7eeM81dM-itQ16hbiVnN1EqFuoKmpkCufhZOW3hkQqbyzXXdZG2Mkt3AnLK7IrZm-p-sMbfzzBQDuwUv5hT7H4rs47I" style="width: 720px;"></p>

<h3 class="has-vivid-red-color has-text-color">Small eCommerce Websites</h3>

<p>Gatsby works really well as a tool to build customized and static storefront for headless eCommerce.</p>

<p>It’s often integrated with Shopify, as it doesn’t give too many possibilities for customization.</p>

<p>In this scenario, Gatsby is a storefront where visitors can browse the products and add them to the cart in a blink of an eye.</p>

<p>However, the checkout page is served by traditional eCommerce platforms like Shopify, and that makes Gatsby a great partner for Shopify.</p>

<p>Examples:</p>

<p><a href="http://www.curology.com" target="_blank" rel="noreferrer noopener nofollow">Curology</a></p>

<p><img src="https://lh6.googleusercontent.com/H961NoNtnTU3AMGBkekjVP6_UKu7yRezH2pUfbxQMFlMTlnaY3sMfpeFjnDQ0_Yrj2y--COMXIxNi8HYpnsRcf-cvZBtEIji5gzxuWqGOSDcupImjUMYvSPmeBEMEGLyKh7SDpBm" style="width: 720px;"></p>

<p><a href="http://www.otakuchan.com" target="_blank" rel="noreferrer noopener nofollow">OTAKUCHAN</a></p>

<p><img src="https://lh4.googleusercontent.com/EE3Dit3pF-bi2G6exTtNzs_Voc0XQELudez-Yl4MEC0npca73KYpecCFB6wldHb2NNLIiq-JDxx2PpsLfX_HuxKm0IEscSXjO1lVr0sxUsc3vCC3DDYA4lpdSvGqMXUZT4acKQLE" style="width: 720px;"></p>

<p><a href="http://www.justdoit.nike.com" target="_blank" rel="noreferrer noopener nofollow">Nike</a></p>

<p><img src="https://lh6.googleusercontent.com/FIq08NMU2iOe02pON0nVn6iY2uL2UOwn-iNphmTQfzj52-cZNCMmMYA0znySp5k3Sxs39VeeDfGnAS1GmWNSpNcYEOY4Zn3YSJTSjD9cBxxSNKwqhFy8vIxS2KROjGUD_lw-SFHm" style="width: 720px;"></p>

<h2 class="has-black-color has-text-color">Best use cases for Next JS</h2>

<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img src="https://pagepro.co/blog/wp-content/uploads/2020/09/image-5.png" alt="" class="wp-image-4479" width="293" height="165"/></figure></div>

<p>Next also has its own showcase, and we highly recommend using it as a source of inspiration.</p>

<p>Generally, NextJS is a better idea to choose when SSR becomes more important than SSG.</p>

<p>This is when:</p>

<ul><li>Content is frequently updated or needs to be always up-to-date</li><li>You have a large, multi-user site like TikTok (real-time publishing)</li><li>You can’t afford to rebuild the whole website (f.e. big eCommerce), as it would take ages to do it with SSG.</li></ul>

<h3 class="has-vivid-red-color has-text-color">Lage multi-user websites</h3>

<p>For large multi-user platforms and the amount of data generated by its users in real-time, it’s not a surprise that the crucial and absolutely most important thing is performance.</p>

<p>On top of that, “real-time” means rendering needs to be done constantly, with the newest data available.</p>

<p>This could be quite a challenge for Gatsby. And this is why in case of large multi-user websites, Next.js is the ultimate winner.</p>

<p>Examples of Large multi-user websites:</p>

<p><a href="https://www.tiktok.com/" target="_blank" rel="noreferrer noopener nofollow">TikTok</a></p>

<p><img src="https://lh6.googleusercontent.com/oEyp3kwDSa9X31jEVuT6JKQzusv9qHRjBDuWPfGU3etYjYz2een0UcqqLtEdcTURGaqAbmTxRNHXkDXCpoLie3CVUbahtzAV6RZ6wea2cEY4NqvhltLvsge2SxquKVRrsbCUdID7" style="width: 720px;"></p>

<p><a href="https://hashnode.com/" target="_blank" rel="noreferrer noopener nofollow">Hashnode</a></p>

<p><img src="https://lh3.googleusercontent.com/eCtANKHkIeXxXPudHYuLnyoi49hK6WHhhGgn4yE6iMtiC2sIoQTJ9er_ub2k_GivxPhhS7RlnX1fxQXEc-vw9_QBJ_E06hjvK5feVElZV3KlkCO8AQOew4sJkyzzApcQPVnGxhl8" style="width: 720px;"></p>

<p><a href="http://twitch.com" target="_blank" rel="noreferrer noopener nofollow">Twitch mobile</a></p>

<p><img src="https://lh4.googleusercontent.com/bnMnqTygCvFCPKlNDhbJ7yGIx0vXlbuywhCHVwMX4FYU673_H1yQRJeraJtj8aLFe2AcwXbogtFk2iUJzUHMS4uRzqqAvk2e7NAfVDSgkBfrN5QrHID5Dgr6vrIx1w1KKwRMgvsZ" style="width: 720px;"></p>

<h3 class="has-vivid-red-color has-text-color">Client-side rendered applications (SPA/MPA)</h3>

<p>SPA is a web application or website that interacts with the web browser by dynamically rewriting the current web page with new data from the webserver, instead of the default method of the browser loading entire new pages.</p>

<p>SPA is a perfect solution to build an exceptional and rich interaction between the user and your application.</p>

<p>Top Single Page Application requirements should be:</p>

<ul><li>Super performant</li><li>Ability to support feature rich apps</li><li>Great user experience</li></ul>

<p>The goal is faster transitions that make the website feel more like a native app. </p>

<p>Examples of SPAs built with Next.js:</p>

<p><a href="http://hulu.com" target="_blank" rel="noreferrer noopener nofollow">hulu</a></p>

<p><img src="https://lh5.googleusercontent.com/9ifuE_d-KFi8lFTiDpDsSxBwKyH7x3UDLlt25bqDo1XjAwaQizZuamVSUKzR7O3mDGsWOGbpTbp8V1BelVL8SRyMVGWhVghRXiljOh-TxgqL3D1y1BHTcAdm07yoWf4MG5N8M0Ly" style="width: 720px;"></p>

<p><a href="http://www.binance.com" target="_blank" rel="noreferrer noopener nofollow">Binance</a></p>

<p><img src="https://lh5.googleusercontent.com/ctKoq0wET7smK807P5NmIXVsz2EfgEuq1y2BnhS48nd306AKjSZ11zS133XgLB4JDpFfzhnBBasXNzUZRczzgeIb1RC0-On4kTfHovqqDMYEykGqWABZa9-vDv6k-ywGHFisx3wa" style="width: 720px;"></p>

<p><a href="http://www.ticketmaster.com" target="_blank" rel="noreferrer noopener nofollow">Ticket Master</a></p>

<p><img src="https://lh3.googleusercontent.com/9ZJjoSp0VMeGV6J2Afu13r4c1D1Uhm-k9yUGRt7ulsfWMuj3r8Qf7BtQ4OTzyaM2vKPEkG-LHc2efNppYD4bM_n10yVM-TXrxU1s3EN262eJfxwod8j5Ys5BbKK7H8f3Pf-5hsga" style="width: 720px;"></p>

<h3 class="has-vivid-red-color has-text-color">Big eCommerce Websites</h3>

<p>Conversion is crucial for eCommerce platforms, as the ultimately successful user path should end up with a sale.</p>

<p>Besides that, if a small change will come, it needs to be visible everywhere. Therefore, the production of SSG pages would take ages in that case.</p>

<p>For Big eCommerce, the most important factors are:</p>

<ul><li>Speed</li><li>Custom user experience</li><li>Ability to make frequent changes</li><li>Integrations with third-party systems like: PIM, marketing automation, ERP.</li></ul>

<p>Examples:</p>

<p><a href="http://www.deliveroo.com" target="_blank" rel="noreferrer noopener nofollow">Deliveroo</a></p>

<p><strong><img src="https://lh4.googleusercontent.com/hSqyZOmbKIhwBJAcanKVPLGfW0XbQ5DCGPLfV0GP12dfVraQQqWQnVGXB4ZdK5W89BaMMuvpPwVF8AsRTanxgIemtE4I6kLIsLT02cvnIwtcPUjzaf9pG5ue-njTOVySENKkYkIE" style="width: 720px;"></strong></p>

<p><a href="http://www.jet.com" target="_blank" rel="noreferrer noopener nofollow">JET</a></p>

<p><strong><img src="https://lh5.googleusercontent.com/YCi16tmfKTpMy_KKaS4DlErMv0tKmDGxCgJmOwbOSG_s7tCwGKwFNiMx3qOuCpR7xtxPfVB06VOdqQmkIcKZ_3fSteENqaUe3XBIO4czdqaQOgLeGadXZkIt3d6TDIrycijwx4Bh" style="width: 720px;"></strong></p>

<p><a href="http://www.ticketswap.com" target="_blank" rel="noreferrer noopener nofollow">Ticket Swap</a></p>

<p><strong><img src="https://lh5.googleusercontent.com/m8FzT6uaVZLH-3Hs9mDiV27VItlgjtzwWpr1Ffc-pAXxwFtl3tJsmCk9US2MSm5-zCKV1P4soQAfQyftojfnIhO_eyUDbhiMd5A2geLJ72pj6auVQ0Y7zwLAQMs-N0eHFRjzc__Z" style="width: 720px;"></strong></p>

<h3 class="has-vivid-red-color has-text-color">Web portals</h3>

<p>The success of a web portal is mostly dependent on his performance, as a huge amount of data is constantly added in real-time by its users (user-generated content).</p>

<p>The other important factor for web portals is personalization and security.</p>

<p>Take a medical portal with a fragile health data of thousands of patients. It would be best if you had something extremely safe and in many cases encoded &amp; decoded in real-time.</p>

<p>We could say that the most important factors for web portals are:</p>

<ul><li>Super performant</li><li>Secure</li><li>Able to support custom features</li><li>Full support for real-time user generated content</li></ul>

<p>And this is why Next.js is the winner in this case, as it would be incredibly hard to interact with users just by using static pages. Of course most of these functionalities you can achieve in Gatsby using third party services, but without them Next is a clear winner.</p>

<p>Examples:</p>

<p><a href="http://www.ticketmaster.com" target="_blank" rel="noreferrer noopener">Ticket Master</a></p>

<p><img src="https://lh3.googleusercontent.com/9ZJjoSp0VMeGV6J2Afu13r4c1D1Uhm-k9yUGRt7ulsfWMuj3r8Qf7BtQ4OTzyaM2vKPEkG-LHc2efNppYD4bM_n10yVM-TXrxU1s3EN262eJfxwod8j5Ys5BbKK7H8f3Pf-5hsga" style="width: 720px;"></p>

<p><a href="https://www.realtor.com/" target="_blank" rel="noreferrer noopener nofollow">Realtor</a></p>

<p><img src="https://lh5.googleusercontent.com/8qV_4hDlFpZYplXcayc4n4YSx924xJmh6zcl0psL4XTJBvOk0MbvNY54XzkaakONHLH9XMcJFIQ3xsetNXgYl7k2i9mjlHp_vzhaOpj-bSvgOE1s7BrDJ2z696efyibkdlS2NKw7" style="width: 720px;"></p>

<p><a href="https://www.tvpublica.com.ar/" target="_blank" rel="noreferrer noopener nofollow">TV Publica</a></p>

<p><img src="https://lh4.googleusercontent.com/vnhJM8dGRIERH870UqtW7fgKo96cXcyMTyuoc4oBGiod2aMcnSTc1fohCWZ9qToaZbx7FJimfLHpRaGcRVFUJdBmjoQO-X_X5AnNSdYkjuHmpWBeTt8xM1Lh9c6vzvxicNHKyk8v" style="width: 720px;"></p>

<h2>The verdict?</h2>

<p>Obviously, the verdict is highly dependent on what you are aiming for.</p>

<p>If the goal is to have a super-fast website that doesn’t need many updates, then Gatsby.js is a no-brainer here.</p>

<p>Yet, if you want to have a superfast and user-friendly page that does need constant updates, definitely you should consider Next.js.</p>