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

Function replayFunctionComponent

docs/index.js:9166–9193  ·  view source on GitHub ↗
(
  current,
  workInProgress,
  nextProps,
  Component,
  secondArg,
  renderLanes
)

Source from the content-addressed store, hash-verified

9164 return workInProgress.child;
9165}
9166function replayFunctionComponent(
9167 current,
9168 workInProgress,
9169 nextProps,
9170 Component,
9171 secondArg,
9172 renderLanes
9173) {
9174 prepareToReadContext(workInProgress);
9175 workInProgress.updateQueue = null;
9176 nextProps = renderWithHooksAgain(
9177 workInProgress,
9178 Component,
9179 nextProps,
9180 secondArg
9181 );
9182 finishRenderingHooks(current);
9183 Component = checkDidRenderIdHook();
9184 if (null !== current && !didReceiveUpdate)
9185 return (
9186 bailoutHooks(current, workInProgress, renderLanes),
9187 bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)
9188 );
9189 isHydrating && Component && pushMaterializedTreeId(workInProgress);
9190 workInProgress.flags |= 1;
9191 reconcileChildren(current, workInProgress, nextProps, renderLanes);
9192 return workInProgress.child;
9193}
9194function updateClassComponent(
9195 current,
9196 workInProgress,

Callers 2

replayBeginWorkFunction · 0.85

Calls 10

prepareToReadContextFunction · 0.85
renderWithHooksAgainFunction · 0.85
finishRenderingHooksFunction · 0.85
checkDidRenderIdHookFunction · 0.85
bailoutHooksFunction · 0.85
pushMaterializedTreeIdFunction · 0.85
reconcileChildrenFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…