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

Function memoizeState

code/higher-order-components/public/app.js:10486–10490  ·  view source on GitHub ↗
(workInProgress, nextState)

Source from the content-addressed store, hash-verified

10484 }
10485
10486 function memoizeState(workInProgress, nextState) {
10487 workInProgress.memoizedState = nextState;
10488 // Don't reset the updateQueue, in case there are pending updates. Resetting
10489 // is handled by processUpdateQueue.
10490 }
10491
10492 function beginWork(current, workInProgress, renderExpirationTime) {
10493 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