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

Function memoizeState

code/new-context-api/public/app.js:9853–9857  ·  view source on GitHub ↗
(workInProgress, nextState)

Source from the content-addressed store, hash-verified

9851 }
9852
9853 function memoizeState(workInProgress, nextState) {
9854 workInProgress.memoizedState = nextState;
9855 // Don't reset the updateQueue, in case there are pending updates. Resetting
9856 // is handled by processUpdateQueue.
9857 }
9858
9859 function beginWork(current, workInProgress, renderExpirationTime) {
9860 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