MCPcopy Create free account
hub / github.com/microsoft/SandDance / getContainerFromFiber

Function getContainerFromFiber

docs/external/js/react-dom.development.js:3037–3039  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

3035 return null;
3036 }
3037 function getContainerFromFiber(fiber) {
3038 return fiber.tag === HostRoot ? fiber.stateNode.containerInfo : null;
3039 }
3040 function isFiberMounted(fiber) {
3041 return getNearestMountedFiber(fiber) === fiber;
3042 }

Callers 2

attemptToDispatchEventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected