Home
conventions
File conventions
Next.js 13 introduced a new file convention, loading.js, to help you create meaningful Loading UI with React Suspense
The error.js file convention allows you to gracefully handle runtime errors in nested routes.
Automatically wrap a route segment and its nested children in a React Error Boundary.
File Conventions
Promise
Loading data from external sources
Error
Creating new error boundaries