We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c08245 commit 314356eCopy full SHA for 314356e
packages/react/src/errorboundary.tsx
@@ -40,7 +40,7 @@ export type ErrorBoundaryProps = {
40
*
41
*/
42
fallback?: React.ReactElement | FallbackRender;
43
- /** Called with the error boundary encounters an error */
+ /** Called when the error boundary encounters an error */
44
onError?(error: Error, componentStack: string, eventId: string): void;
45
/** Called on componentDidMount() */
46
onMount?(): void;
0 commit comments