MCPcopy Index your code
hub / github.com/krasimir/react-in-patterns / updateMode

Function updateMode

code/redux/public/app.js:10055–10066  ·  view source on GitHub ↗
(current, workInProgress)

Source from the content-addressed store, hash-verified

10053 }
10054
10055 function updateMode(current, workInProgress) {
10056 var nextChildren = workInProgress.pendingProps.children;
10057 if (hasLegacyContextChanged()) {
10058 // Normally we can bail out on props equality but if context has changed
10059 // we don't do the bailout and we have to reuse existing props instead.
10060 } else if (nextChildren === null || workInProgress.memoizedProps === nextChildren) {
10061 return bailoutOnAlreadyFinishedWork(current, workInProgress);
10062 }
10063 reconcileChildren(current, workInProgress, nextChildren);
10064 memoizeProps(workInProgress, nextChildren);
10065 return workInProgress.child;
10066 }
10067
10068 function markRef(current, workInProgress) {
10069 var ref = workInProgress.ref;

Callers 1

beginWorkFunction · 0.70

Calls 3

reconcileChildrenFunction · 0.70
memoizePropsFunction · 0.70

Tested by

no test coverage detected