Component
ErrorBoundary
Error boundary with a retry fallback.
What it does
- Reset keys
- Custom fallback render
- withErrorBoundary HOC
Import
import { ErrorBoundary } from '@polprog/native-ui';
The same module is available as a direct import:
import { ErrorBoundary } from '@polprog/native-ui/components/ErrorBoundary';