MCPcopy Index your code
hub / github.com/react/react / getRootHostContainer

Function getRootHostContainer

packages/react-reconciler/src/ReactFiberHostContext.js:52–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50}
51
52function getRootHostContainer(): Container {
53 const rootInstance = requiredContext(rootInstanceStackCursor.current);
54 return rootInstance;
55}
56
57export function getHostTransitionProvider(): Fiber | null {
58 return hostTransitionProviderCursor.current;

Callers 4

updateHostHoistableFunction · 0.90
claimHydratableSingletonFunction · 0.90
updateHostTextFunction · 0.90
completeWorkFunction · 0.90

Calls 1

requiredContextFunction · 0.85

Tested by

no test coverage detected