MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / memoizeState

Function memoizeState

code/communication/public/app.js:10527–10531  ·  view source on GitHub ↗
(workInProgress, nextState)

Source from the content-addressed store, hash-verified

10525 }
10526
10527 function memoizeState(workInProgress, nextState) {
10528 workInProgress.memoizedState = nextState;
10529 // Don't reset the updateQueue, in case there are pending updates. Resetting
10530 // is handled by processUpdateQueue.
10531 }
10532
10533 function beginWork(current, workInProgress, renderExpirationTime) {
10534 if (workInProgress.expirationTime === NoWork || workInProgress.expirationTime > renderExpirationTime) {

Callers 4

resumeMountClassInstanceFunction · 0.70
updateClassInstanceFunction · 0.70
finishClassComponentFunction · 0.70
updateHostRootFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected