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

Function memoizeState

code/composition/public/app.js:10630–10634  ·  view source on GitHub ↗
(workInProgress, nextState)

Source from the content-addressed store, hash-verified

10628 }
10629
10630 function memoizeState(workInProgress, nextState) {
10631 workInProgress.memoizedState = nextState;
10632 // Don't reset the updateQueue, in case there are pending updates. Resetting
10633 // is handled by processUpdateQueue.
10634 }
10635
10636 function beginWork(current, workInProgress, renderExpirationTime) {
10637 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