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

Function memoizeProps

code/controlled-uncontrolled/public/app.js:9812–9814  ·  view source on GitHub ↗
(workInProgress, nextProps)

Source from the content-addressed store, hash-verified

9810
9811 // TODO: Delete memoizeProps/State and move to reconcile/bailout instead
9812 function memoizeProps(workInProgress, nextProps) {
9813 workInProgress.memoizedProps = nextProps;
9814 }
9815
9816 function memoizeState(workInProgress, nextState) {
9817 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