SuspendingErrorView() — react Function Reference
Architecture documentation for the SuspendingErrorView() function in SuspendingErrorView.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD cbb0930a_877b_edc4_33cb_938567fe8622["SuspendingErrorView()"] 632dd028_efe6_3846_30ed_2eaf83829007["SuspendingErrorView.js"] cbb0930a_877b_edc4_33cb_938567fe8622 -->|defined in| 632dd028_efe6_3846_30ed_2eaf83829007 style cbb0930a_877b_edc4_33cb_938567fe8622 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-devtools-shared/src/devtools/views/ErrorBoundary/SuspendingErrorView.js lines 22–49
export default function SuspendingErrorView({
callStack,
componentStack,
errorMessage,
}: Props): React.Node {
const maybeItem =
errorMessage !== null ? findGitHubIssue(errorMessage) : null;
let GitHubUI;
if (maybeItem != null) {
GitHubUI = <UpdateExistingIssue gitHubIssue={maybeItem} />;
} else {
GitHubUI = (
<ReportNewIssue
callStack={callStack}
componentStack={componentStack}
errorMessage={errorMessage}
/>
);
}
return (
<>
{GitHubUI}
<WorkplaceGroup />
</>
);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does SuspendingErrorView() do?
SuspendingErrorView() is a function in the react codebase, defined in packages/react-devtools-shared/src/devtools/views/ErrorBoundary/SuspendingErrorView.js.
Where is SuspendingErrorView() defined?
SuspendingErrorView() is defined in packages/react-devtools-shared/src/devtools/views/ErrorBoundary/SuspendingErrorView.js at line 22.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free