MCPcopy Index your code
hub / github.com/caseywebdev/react-list / useFiber

Function useFiber

docs/index.js:6288–6293  ·  view source on GitHub ↗
(fiber, pendingProps)

Source from the content-addressed store, hash-verified

6286 return existingChildren;
6287 }
6288 function useFiber(fiber, pendingProps) {
6289 fiber = createWorkInProgress(fiber, pendingProps);
6290 fiber.index = 0;
6291 fiber.sibling = null;
6292 return fiber;
6293 }
6294 function placeChild(newFiber, lastPlacedIndex, newIndex) {
6295 newFiber.index = newIndex;
6296 if (!shouldTrackSideEffects)

Callers 5

updateTextNodeFunction · 0.85
updateElementFunction · 0.85
updatePortalFunction · 0.85
updateFragmentFunction · 0.85
reconcileChildFibersImplFunction · 0.85

Calls 1

createWorkInProgressFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…