onRecoverableError

Callback called when React automatically recovers from errors. Called with an error React throws, and an errorInfo object containing the componentStack. Some recoverable errors may include the original error cause as error.cause.

See also

{@link https://react.dev/reference/react-dom/client/createRoot#parameters createRoot#options}