-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
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.
- Docs: Basic Features: Layouts | Next.js
- Orig article by Adam Wathan: Persistent Layout Patterns in Next.js – Adam Wathan
Metadata
Metadata
Assignees
Labels
No labels