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

Function memoizeProps

code/composition/public/app.js:10626–10628  ·  view source on GitHub ↗
(workInProgress, nextProps)

Source from the content-addressed store, hash-verified

10624
10625 // TODO: Delete memoizeProps/State and move to reconcile/bailout instead
10626 function memoizeProps(workInProgress, nextProps) {
10627 workInProgress.memoizedProps = nextProps;
10628 }
10629
10630 function memoizeState(workInProgress, nextState) {
10631 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