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

Function memoizeProps

code/communication/public/app.js:10523–10525  ·  view source on GitHub ↗
(workInProgress, nextProps)

Source from the content-addressed store, hash-verified

10521
10522 // TODO: Delete memoizeProps/State and move to reconcile/bailout instead
10523 function memoizeProps(workInProgress, nextProps) {
10524 workInProgress.memoizedProps = nextProps;
10525 }
10526
10527 function memoizeState(workInProgress, nextState) {
10528 workInProgress.memoizedState = nextState;

Callers 12

resumeMountClassInstanceFunction · 0.70
updateClassInstanceFunction · 0.70
updateForwardRefFunction · 0.70
updateFragmentFunction · 0.70
updateModeFunction · 0.70
finishClassComponentFunction · 0.70
updateHostComponentFunction · 0.70
updateHostTextFunction · 0.70
updateCallComponentFunction · 0.70
updatePortalComponentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected