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

Function updateForwardRef

code/higher-order-components/public/app.js:9777–9783  ·  view source on GitHub ↗
(current, workInProgress)

Source from the content-addressed store, hash-verified

9775 }
9776
9777 function updateForwardRef(current, workInProgress) {
9778 var render = workInProgress.type.render;
9779 var nextChildren = render(workInProgress.pendingProps, workInProgress.ref);
9780 reconcileChildren(current, workInProgress, nextChildren);
9781 memoizeProps(workInProgress, nextChildren);
9782 return workInProgress.child;
9783 }
9784
9785 function updateFragment(current, workInProgress) {
9786 var nextChildren = workInProgress.pendingProps;

Callers 1

beginWorkFunction · 0.70

Calls 2

reconcileChildrenFunction · 0.70
memoizePropsFunction · 0.70

Tested by

no test coverage detected