error-boundary
Catch panics in child components and render a fallback.
| Item | Description |
|---|---|
ErrorBoundary |
Component that displays fallback content when a child panics. |
NewErrorBoundary(child Component, fallback string) *ErrorBoundary |
Constructs an ErrorBoundary around a child component. |