App Class — react Architecture
Architecture documentation for the App class in ReactFiberRefs-test.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 13607a27_9b0f_2d72_a09b_4b0d84c9f627["App"] 3f57434f_51a8_fbbc_8a88_ac324a43ce73["ReactFiberRefs-test.js"] 13607a27_9b0f_2d72_a09b_4b0d84c9f627 -->|defined in| 3f57434f_51a8_fbbc_8a88_ac324a43ce73 cb8b4b0e_afef_b6b5_607e_461b60268187["render()"] 13607a27_9b0f_2d72_a09b_4b0d84c9f627 -->|method| cb8b4b0e_afef_b6b5_607e_461b60268187
Relationship Graph
Source Code
packages/react-reconciler/src/__tests__/ReactFiberRefs-test.js lines 114–129
class App extends React.Component {
render() {
app = this;
return (
<div
prop="Hello!"
ref={el => {
// `refs` used to be a shared frozen object unless/until a string
// ref attached by the reconciler, but it's not anymore so that we
// can codemod string refs to userspace callback refs.
this.refs.div = el;
}}
/>
);
}
}
Source
Frequently Asked Questions
What is the App class?
App is a class in the react codebase, defined in packages/react-reconciler/src/__tests__/ReactFiberRefs-test.js.
Where is App defined?
App is defined in packages/react-reconciler/src/__tests__/ReactFiberRefs-test.js at line 114.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free