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

Function placeSingleChild

code/styling/public/app.js:9000–9007  ·  view source on GitHub ↗
(newFiber)

Source from the content-addressed store, hash-verified

8998 }
8999
9000 function placeSingleChild(newFiber) {
9001 // This is simpler for the single child case. We only need to do a
9002 // placement for inserting new children.
9003 if (shouldTrackSideEffects && newFiber.alternate === null) {
9004 newFiber.effectTag = Placement;
9005 }
9006 return newFiber;
9007 }
9008
9009 function updateTextNode(returnFiber, current, textContent, expirationTime) {
9010 if (current === null || current.tag !== HostText) {

Callers 1

reconcileChildFibersFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected