To keep page transitions snappy, we should be using page layout components and static getLayout methods. This allows us to have centralized header/footer content that doesn't get re-rendered when going from one page to another.
To see them in action, navigate back and forth from this article index page and any of the articles.
This article I wrote, Next.js Page Layouts and Dynamic Content shows how to inject dynamic page-specific content into the layouts and still have them equally snappy.
To keep page transitions snappy, we should be using page layout components and static
getLayoutmethods. This allows us to have centralized header/footer content that doesn't get re-rendered when going from one page to another.To see them in action, navigate back and forth from this article index page and any of the articles.
This article I wrote, Next.js Page Layouts and Dynamic Content shows how to inject dynamic page-specific content into the layouts and still have them equally snappy.