visitProperty() — react Function Reference
Architecture documentation for the visitProperty() function in PropagateScopeDependenciesHIR.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD 8d8b17be_69f6_c901_0c65_675b2f52ffc0["visitProperty()"] 1be3b542_2ecf_364c_adef_6e5675b7385e["DependencyCollectionContext"] 8d8b17be_69f6_c901_0c65_675b2f52ffc0 -->|defined in| 1be3b542_2ecf_364c_adef_6e5675b7385e fe7b2dbb_34c7_f07a_c558_c479a9c5eb1e["handleInstruction()"] fe7b2dbb_34c7_f07a_c558_c479a9c5eb1e -->|calls| 8d8b17be_69f6_c901_0c65_675b2f52ffc0 b1bdda46_c31a_9557_b610_d2ed7c3ceaed["visitDependency()"] 8d8b17be_69f6_c901_0c65_675b2f52ffc0 -->|calls| b1bdda46_c31a_9557_b610_d2ed7c3ceaed db4024a2_9da3_3c5b_55ec_ad3da742fbea["getProperty()"] 8d8b17be_69f6_c901_0c65_675b2f52ffc0 -->|calls| db4024a2_9da3_3c5b_55ec_ad3da742fbea style 8d8b17be_69f6_c901_0c65_675b2f52ffc0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/HIR/PropagateScopeDependenciesHIR.ts lines 544–556
visitProperty(
object: Place,
property: PropertyLiteral,
optional: boolean,
): void {
const nextDependency = getProperty(
object,
property,
optional,
this.#temporaries,
);
this.visitDependency(nextDependency);
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does visitProperty() do?
visitProperty() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/HIR/PropagateScopeDependenciesHIR.ts.
Where is visitProperty() defined?
visitProperty() is defined in compiler/packages/babel-plugin-react-compiler/src/HIR/PropagateScopeDependenciesHIR.ts at line 544.
What does visitProperty() call?
visitProperty() calls 2 function(s): getProperty, visitDependency.
What calls visitProperty()?
visitProperty() is called by 1 function(s): handleInstruction.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free