Skip to content

Topics

Jump to a topic.

Search questions

Find a question by title, tag, or summary.

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.
  1. 010How does the App Router turn folders and special files into a component tree?medium
  2. 020Why does a layout keep its state on navigation, and when do you need template.js?medium
  3. 030How do loading.js, error.js and not-found.js map onto Suspense and error boundaries?medium
  4. 040What are parallel routes, and why must every slot have default.js?hard
  5. 050How do intercepting routes give a modal its own URL that survives a refresh?hard
  6. 060What do route groups and multiple root layouts change about navigation?medium