MCPcopy Create free account
hub / github.com/reactjs/react-rails / isHostParent

Function isHostParent

lib/assets/react-source/development/react.js:23928–23930  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

23926 }
23927
23928 function isHostParent(fiber) {
23929 return fiber.tag === HostComponent || fiber.tag === HostRoot || fiber.tag === HostPortal;
23930 }
23931
23932 function getHostSibling(fiber) {
23933 // We're going to search forward into the tree until we find a sibling host

Callers 2

getHostParentFiberFunction · 0.85
getHostSiblingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected