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

Function memoizeProps

code/new-context-api/public/app.js:9849–9851  ·  view source on GitHub ↗
(workInProgress, nextProps)

Source from the content-addressed store, hash-verified

9847
9848 // TODO: Delete memoizeProps/State and move to reconcile/bailout instead
9849 function memoizeProps(workInProgress, nextProps) {
9850 workInProgress.memoizedProps = nextProps;
9851 }
9852
9853 function memoizeState(workInProgress, nextState) {
9854 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