Skip to content

Persistent layouts by default #242

@mcavaliere

Description

@mcavaliere

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions