getRootHostContainer() — react Function Reference
Architecture documentation for the getRootHostContainer() function in ReactFiberHostContext.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD caaf30b2_6e58_ce4e_f73c_baa2c3b083d0["getRootHostContainer()"] 0d0aab7d_e6b3_4636_e6ae_2ed95f8e42d0["ReactFiberHostContext.js"] caaf30b2_6e58_ce4e_f73c_baa2c3b083d0 -->|defined in| 0d0aab7d_e6b3_4636_e6ae_2ed95f8e42d0 53f55fda_e2b6_2801_4fbc_525f8828d23d["updateHostRoot()"] 53f55fda_e2b6_2801_4fbc_525f8828d23d -->|calls| caaf30b2_6e58_ce4e_f73c_baa2c3b083d0 18c23582_bfc0_7788_1b51_ade9a9ec414c["updateHostText()"] 18c23582_bfc0_7788_1b51_ade9a9ec414c -->|calls| caaf30b2_6e58_ce4e_f73c_baa2c3b083d0 0b8db832_87fd_e560_8aa8_e2b319c81626["completeWork()"] 0b8db832_87fd_e560_8aa8_e2b319c81626 -->|calls| caaf30b2_6e58_ce4e_f73c_baa2c3b083d0 73a9e7ed_1281_819e_047c_f2d46a8df791["claimHydratableSingleton()"] 73a9e7ed_1281_819e_047c_f2d46a8df791 -->|calls| caaf30b2_6e58_ce4e_f73c_baa2c3b083d0 style caaf30b2_6e58_ce4e_f73c_baa2c3b083d0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-reconciler/src/ReactFiberHostContext.js lines 56–59
function getRootHostContainer(): Container {
const rootInstance = requiredContext(rootInstanceStackCursor.current);
return rootInstance;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does getRootHostContainer() do?
getRootHostContainer() is a function in the react codebase, defined in packages/react-reconciler/src/ReactFiberHostContext.js.
Where is getRootHostContainer() defined?
getRootHostContainer() is defined in packages/react-reconciler/src/ReactFiberHostContext.js at line 56.
What calls getRootHostContainer()?
getRootHostContainer() is called by 4 function(s): claimHydratableSingleton, completeWork, updateHostRoot, updateHostText.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free