How to Add Nested/Persistent Layouts in Next.js

In this video I show a pattern for nested/persistent layouts in Next.js. I first learned this pattern in a blog by Adam Wathan titled “Persistent Layout Patterns in Next.js”. I have formed a few of my own opinions and developed my own patterns on top of the 3rd option Adam demonstrations.

Additionally, I wanted to show some compelling arguments for nested layouts and how to go from an app with implicit nested layouts to explicit nested layouts

Adam Wathan’s original blog:
Live Demo:


Leave a Reply

Your email address will not be published. Required fields are marked *