MCPcopy
hub / github.com/facebook/react / updateFragment

Function updateFragment

packages/react-reconciler/src/ReactFiberBeginWork.js:1333–1344  ·  view source on GitHub ↗
(
  current: Fiber | null,
  workInProgress: Fiber,
  renderLanes: Lanes,
)

Source from the content-addressed store, hash-verified

1331}
1332
1333function updateFragment(
1334 current: Fiber | null,
1335 workInProgress: Fiber,
1336 renderLanes: Lanes,
1337) {
1338 const nextChildren = workInProgress.pendingProps;
1339 if (enableFragmentRefs) {
1340 markRef(current, workInProgress);
1341 }
1342 reconcileChildren(current, workInProgress, nextChildren, renderLanes);
1343 return workInProgress.child;
1344}
1345
1346function updateMode(
1347 current: Fiber | null,

Callers 1

beginWorkFunction · 0.70

Calls 2

markRefFunction · 0.85
reconcileChildrenFunction · 0.85

Tested by

no test coverage detected