get() — react Function Reference
Architecture documentation for the get() function in MergeConsecutiveBlocks.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD c037181b_4cfb_039c_81d1_8f129348cda7["get()"] 1a8360d2_10af_e1f2_29f7_8712f3ff9cbe["MergedBlocks"] c037181b_4cfb_039c_81d1_8f129348cda7 -->|defined in| 1a8360d2_10af_e1f2_29f7_8712f3ff9cbe 7b930d0b_9ec9_a382_a51f_3ffb682d5b9a["mergeConsecutiveBlocks()"] 7b930d0b_9ec9_a382_a51f_3ffb682d5b9a -->|calls| c037181b_4cfb_039c_81d1_8f129348cda7 15ce5dd6_b99d_ce73_8748_87fb1267ffd7["merge()"] 15ce5dd6_b99d_ce73_8748_87fb1267ffd7 -->|calls| c037181b_4cfb_039c_81d1_8f129348cda7 style c037181b_4cfb_039c_81d1_8f129348cda7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/HIR/MergeConsecutiveBlocks.ts lines 139–145
get(block: BlockId): BlockId {
let current = block;
while (this.#map.has(current)) {
current = this.#map.get(current) ?? current;
}
return current;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does get() do?
get() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/HIR/MergeConsecutiveBlocks.ts.
Where is get() defined?
get() is defined in compiler/packages/babel-plugin-react-compiler/src/HIR/MergeConsecutiveBlocks.ts at line 139.
What calls get()?
get() is called by 2 function(s): merge, mergeConsecutiveBlocks.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free