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

Function memoizeState

code/third-party/public/app.js:9725–9729  ·  view source on GitHub ↗
(workInProgress, nextState)

Source from the content-addressed store, hash-verified

9723 }
9724
9725 function memoizeState(workInProgress, nextState) {
9726 workInProgress.memoizedState = nextState;
9727 // Don't reset the updateQueue, in case there are pending updates. Resetting
9728 // is handled by processUpdateQueue.
9729 }
9730
9731 function beginWork(current, workInProgress, renderExpirationTime) {
9732 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