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

Function updateContainerImpl

docs/index.js:17913–17933  ·  view source on GitHub ↗
(
  rootFiber,
  lane,
  element,
  container,
  parentComponent,
  callback
)

Source from the content-addressed store, hash-verified

17911 return parentComponent;
17912}
17913function updateContainerImpl(
17914 rootFiber,
17915 lane,
17916 element,
17917 container,
17918 parentComponent,
17919 callback
17920) {
17921 parentComponent = getContextForSubtree(parentComponent);
17922 null === container.context
17923 ? (container.context = parentComponent)
17924 : (container.pendingContext = parentComponent);
17925 container = createUpdate(lane);
17926 container.payload = { element: element };
17927 callback = void 0 === callback ? null : callback;
17928 null !== callback && (container.callback = callback);
17929 element = enqueueUpdate(rootFiber, container, lane);
17930 null !== element &&
17931 (scheduleUpdateOnFiber(element, rootFiber, lane),
17932 entangleTransitions(element, rootFiber, lane));
17933}
17934function markRetryLaneImpl(fiber, retryLane) {
17935 fiber = fiber.memoizedState;
17936 if (null !== fiber && null !== fiber.dehydrated) {

Callers 2

index.jsFile · 0.85
updateContainerSyncFunction · 0.85

Calls 6

getContextForSubtreeFunction · 0.85
createUpdateFunction · 0.85
enqueueUpdateFunction · 0.85
scheduleUpdateOnFiberFunction · 0.85
entangleTransitionsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…