MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / isHostParent

Function isHostParent

code/styling/public/app.js:11612–11614  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

11610 }
11611
11612 function isHostParent(fiber) {
11613 return fiber.tag === HostComponent || fiber.tag === HostRoot || fiber.tag === HostPortal;
11614 }
11615
11616 function getHostSibling(fiber) {
11617 // We're going to search forward into the tree until we find a sibling host

Callers 2

getHostParentFiberFunction · 0.70
getHostSiblingFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected