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

Function memoizeState

code/dependency-injection/public/app.js:10585–10589  ·  view source on GitHub ↗
(workInProgress, nextState)

Source from the content-addressed store, hash-verified

10583 }
10584
10585 function memoizeState(workInProgress, nextState) {
10586 workInProgress.memoizedState = nextState;
10587 // Don't reset the updateQueue, in case there are pending updates. Resetting
10588 // is handled by processUpdateQueue.
10589 }
10590
10591 function beginWork(current, workInProgress, renderExpirationTime) {
10592 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