App Class — react Architecture
Architecture documentation for the App class in StrictEffectsMode-test.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 99d46be0_92f6_2aee_c1d3_bb4956875d99["App"] 61b49bfc_bb61_d28b_5b46_a815b94de053["StrictEffectsMode-test.js"] 99d46be0_92f6_2aee_c1d3_bb4956875d99 -->|defined in| 61b49bfc_bb61_d28b_5b46_a815b94de053 9ffa6966_4c48_bced_4e63_57ca50b44825["test()"] 99d46be0_92f6_2aee_c1d3_bb4956875d99 -->|method| 9ffa6966_4c48_bced_4e63_57ca50b44825 ce0f3c47_9c01_a51c_1b97_78bffc55360a["componentDidMount()"] 99d46be0_92f6_2aee_c1d3_bb4956875d99 -->|method| ce0f3c47_9c01_a51c_1b97_78bffc55360a 70826b24_2f8c_7305_2801_25d4477edd80["componentDidUpdate()"] 99d46be0_92f6_2aee_c1d3_bb4956875d99 -->|method| 70826b24_2f8c_7305_2801_25d4477edd80 b01c878f_537d_ff3d_fed2_fbcc4737ece2["componentWillUnmount()"] 99d46be0_92f6_2aee_c1d3_bb4956875d99 -->|method| b01c878f_537d_ff3d_fed2_fbcc4737ece2 5dac1a95_6168_3f59_a626_d7fa7787bb40["render()"] 99d46be0_92f6_2aee_c1d3_bb4956875d99 -->|method| 5dac1a95_6168_3f59_a626_d7fa7787bb40
Relationship Graph
Source Code
packages/react-reconciler/src/__tests__/StrictEffectsMode-test.js lines 303–324
class App extends React.PureComponent {
test() {}
componentDidMount() {
this.test();
log.push('componentDidMount');
}
componentDidUpdate() {
this.test();
log.push('componentDidUpdate');
}
componentWillUnmount() {
this.test();
log.push('componentWillUnmount');
}
render() {
return null;
}
}
Source
Frequently Asked Questions
What is the App class?
App is a class in the react codebase, defined in packages/react-reconciler/src/__tests__/StrictEffectsMode-test.js.
Where is App defined?
App is defined in packages/react-reconciler/src/__tests__/StrictEffectsMode-test.js at line 303.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free