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

Function updateForwardRef

code/communication/public/app.js:9818–9824  ·  view source on GitHub ↗
(current, workInProgress)

Source from the content-addressed store, hash-verified

9816 }
9817
9818 function updateForwardRef(current, workInProgress) {
9819 var render = workInProgress.type.render;
9820 var nextChildren = render(workInProgress.pendingProps, workInProgress.ref);
9821 reconcileChildren(current, workInProgress, nextChildren);
9822 memoizeProps(workInProgress, nextChildren);
9823 return workInProgress.child;
9824 }
9825
9826 function updateFragment(current, workInProgress) {
9827 var nextChildren = workInProgress.pendingProps;

Callers 1

beginWorkFunction · 0.70

Calls 2

reconcileChildrenFunction · 0.70
memoizePropsFunction · 0.70

Tested by

no test coverage detected