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

Function memoizeState

code/styling/public/app.js:10492–10496  ·  view source on GitHub ↗
(workInProgress, nextState)

Source from the content-addressed store, hash-verified

10490 }
10491
10492 function memoizeState(workInProgress, nextState) {
10493 workInProgress.memoizedState = nextState;
10494 // Don't reset the updateQueue, in case there are pending updates. Resetting
10495 // is handled by processUpdateQueue.
10496 }
10497
10498 function beginWork(current, workInProgress, renderExpirationTime) {
10499 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