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

Function memoizeProps

code/third-party/public/app.js:9721–9723  ·  view source on GitHub ↗
(workInProgress, nextProps)

Source from the content-addressed store, hash-verified

9719
9720 // TODO: Delete memoizeProps/State and move to reconcile/bailout instead
9721 function memoizeProps(workInProgress, nextProps) {
9722 workInProgress.memoizedProps = nextProps;
9723 }
9724
9725 function memoizeState(workInProgress, nextState) {
9726 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