Reference
createErrorBoundary
Creates an error boundary element with a fallback renderer.
Signature
function createErrorBoundary(options: ErrorBoundaryOptions, children: ReactCompatNode): ReactCompatElement<ErrorBoundaryOptions & { children: ReactCompatNode }>