Next.js Static Site Generation (SSG) vs Server-Side Rendering (SSR)

When it comes to building server-rendered React applications, Next.js has become a popular choice among developers. One of the key decisions developers have to make is choosing between Static Site Generation (SSG) and Server-Side Rendering (SSR). Both have their own benefits and tradeoffs, and choosing one over the other depends on the requirements of the … Continue reading Next.js Static Site Generation (SSG) vs Server-Side Rendering (SSR)

Sitecore Headless Multiple Layouts using Next.js

This post is inspired by https://www.techguilds.com/blog/how-to-use-dynamic-layouts-in-headless-sitecore-applications Problem Statement It is very common to use more than one layout in Sitecore and there could be many reasons. Back in the old MVC days, you would simply link the layout to separate MVC or ASPX files. With Sitecore headless and Next.js you need some code customization as … Continue reading Sitecore Headless Multiple Layouts using Next.js