Component Class — react Architecture
Architecture documentation for the Component class in react-15.test.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 39d535fb_f731_d4d4_8a96_bad4799a1353["Component"] 912ce0ba_9877_ee54_fe6c_d2eab7b6c58d["react-15.test.js"] 39d535fb_f731_d4d4_8a96_bad4799a1353 -->|defined in| 912ce0ba_9877_ee54_fe6c_d2eab7b6c58d ab508721_19b8_5886_d7b7_de675e29fdf6["render()"] 39d535fb_f731_d4d4_8a96_bad4799a1353 -->|method| ab508721_19b8_5886_d7b7_de675e29fdf6 ade9f96f_f91a_d302_be22_3ecd5e3302d5["componentDidMount()"] 39d535fb_f731_d4d4_8a96_bad4799a1353 -->|method| ade9f96f_f91a_d302_be22_3ecd5e3302d5 3dfd00d7_220f_ff1e_04b2_d1d05d31a64e["constructor()"] 39d535fb_f731_d4d4_8a96_bad4799a1353 -->|method| 3dfd00d7_220f_ff1e_04b2_d1d05d31a64e
Relationship Graph
Source Code
fixtures/legacy-jsx-runtimes/react-15/react-15.test.js lines 549–564
class Component extends React.Component {
render() {
const inner = <Wrapper object={innerObj} ref="inner" />;
const outer = (
<Wrapper object={outerObj} ref="outer">
{inner}
</Wrapper>
);
return outer;
}
componentDidMount() {
expect(this.refs.inner.getObject()).toEqual(innerObj);
expect(this.refs.outer.getObject()).toEqual(outerObj);
}
}
Source
Frequently Asked Questions
What is the Component class?
Component is a class in the react codebase, defined in fixtures/legacy-jsx-runtimes/react-15/react-15.test.js.
Where is Component defined?
Component is defined in fixtures/legacy-jsx-runtimes/react-15/react-15.test.js at line 549.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free