Skip to content

Glossary: Next.js Beyond the Basics

Error boundary

Also written: error.tsx

A component or file that catches an error while rendering and shows a fallback instead of crashing. With only app/error.tsx, an error in one streamed part replaces the whole page.

Where the book teaches it

Related terms

SuspenseStreaming