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.
null
FallbackRender
error
1 parent ca3b6d1 commit 45761bcCopy full SHA for 45761bc
packages/react/src/errorboundary.tsx
@@ -4,8 +4,8 @@ import * as React from 'react';
4
5
export const UNKNOWN_COMPONENT = 'unknown';
6
7
-export type FallbackRender = (fallback: {
8
- error: Error | null;
+export type FallbackRender = (errorData: {
+ error: Error;
9
componentStack: string | null;
10
eventId: string | null;
11
resetError(): void;
0 commit comments