Chapter 01
App Router structure
How the App Router turns folders and special files into a component tree: layouts, templates, loading, error and not-found UI, route groups, parallel and intercepting routes.- 010How does the App Router turn folders and special files into a component tree?medium
- 020Why does a layout keep its state on navigation, and when do you need
template.js?medium - 030How do
loading.js,error.jsandnot-found.jsmap onto Suspense and error boundaries?medium - 040What are parallel routes, and why must every slot have
default.js?hard - 050How do intercepting routes give a modal its own URL that survives a refresh?hard
- 060What do route groups and multiple root layouts change about navigation?medium