Co-authored-by: nilbuild <4921183+nilbuild@users.noreply.github.com>
533 B
533 B
Error Boundaries
An error boundary is a component that catches JavaScript errors thrown by its child components during rendering, preventing the whole app from crashing. Instead of showing a broken UI, it can display a fallback message. Error boundaries only catch errors in the component tree below them, not in event handlers or asynchronous code.
Visit the following resources to learn more: