Adam Wathan 10/17/2019

Persistent Layout Patterns in Next.js

Read Original

This technical article addresses the common problem in Next.js where the entire UI re-renders on page navigation, breaking the persistent feel of SPAs. It details four implementation patterns, starting with using a single shared layout in a custom _app component, to preserve layouts like sidebars or tab bars across page transitions.

Persistent Layout Patterns in Next.js

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week