Dit zijn speciale bestanden in de App Router die automatisch loading- en error-states voor een routesegment bieden — Next.js koppelt ze aan React Suspense en Error Boundaries, zodat je die boilerplate niet zelf hoeft te schrijven.
Waarom het belangrijk is
These files give you robust loading and error handling per route for free — Suspense-based loading UI that enables streaming, and segment-scoped error boundaries with retry.
Instead of threading / state through components, you drop in a and and Next.js handles the wiring, producing a resilient, responsive UX.
