How Layouts & Route Groups Work - Next.js 13

Published: 11 August 2023
on channel: Nick De Raj
4,292
19

Taking a look at how Layouts work in Next.js 13, and how we can maintain state between pages of a certain component without the need to re-render. This is especially useful for navbars/sidebars/global wrappers. We also take a look into route groups and how we can group layouts together without having any effect on the URL. If it helped, leave a like and comment on what you'd like to see in future videos! ✌️

The Code & more: https://nickderaj.com/youtube/nextjs-...

Chapters:
0:00 Introduction
0:33 Overview of Layouts
2:20 The Root Layout
3:52 Route Groups
4:35 Nested Layouts
6:50 Showing The Layout Doesn't Re-Render
7:05 Outro


Watch video How Layouts & Route Groups Work - Next.js 13 online without registration, duration hours minute second in high quality. This video was added by user Nick De Raj 11 August 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 4,29 once and liked it 1 people.