SilenceRecoverableError Class — react Architecture
Architecture documentation for the SilenceRecoverableError class in index.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 93be1290_96bc_a400_caee_a7e59e50f094["SilenceRecoverableError"] 81bda781_d1ab_04a2_f9a5_679111cfc7c2["index.js"] 93be1290_96bc_a400_caee_a7e59e50f094 -->|defined in| 81bda781_d1ab_04a2_f9a5_679111cfc7c2 ae8cb6e2_ac91_df10_7379_4936664068ff["render()"] 93be1290_96bc_a400_caee_a7e59e50f094 -->|method| ae8cb6e2_ac91_df10_7379_4936664068ff
Relationship Graph
Source Code
fixtures/dom/src/components/fixtures/error-handling/index.js lines 194–215
class SilenceRecoverableError extends React.Component {
render() {
return (
<SilenceErrors>
<ErrorBoundary
badChildType={BadRender}
buttonText={'Throw (render phase)'}
doThrow={() => {
throw new Error('Silenced error (render phase)');
}}
/>
<ErrorBoundary
badChildType={BadDidMount}
buttonText={'Throw (commit phase)'}
doThrow={() => {
throw new Error('Silenced error (commit phase)');
}}
/>
</SilenceErrors>
);
}
}
Domain
Source
Frequently Asked Questions
What is the SilenceRecoverableError class?
SilenceRecoverableError is a class in the react codebase, defined in fixtures/dom/src/components/fixtures/error-handling/index.js.
Where is SilenceRecoverableError defined?
SilenceRecoverableError is defined in fixtures/dom/src/components/fixtures/error-handling/index.js at line 194.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free