Glossary term
What is error boundary? Meaning for developers
A class component that catches errors thrown while rendering its children and shows a fallback instead.
Learn it properly · React in DepthLesson 8: Patterns, Server Components and Testing ReactComposition patterns, error boundaries, portals, Server and Client Components in plain words, and testing with Testing Library.