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

Function placeSingleChild

code/composition/public/app.js:9138–9145  ·  view source on GitHub ↗
(newFiber)

Source from the content-addressed store, hash-verified

9136 }
9137
9138 function placeSingleChild(newFiber) {
9139 // This is simpler for the single child case. We only need to do a
9140 // placement for inserting new children.
9141 if (shouldTrackSideEffects && newFiber.alternate === null) {
9142 newFiber.effectTag = Placement;
9143 }
9144 return newFiber;
9145 }
9146
9147 function updateTextNode(returnFiber, current, textContent, expirationTime) {
9148 if (current === null || current.tag !== HostText) {

Callers 1

reconcileChildFibersFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected