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

Function updateForwardRef

code/one-direction-data-flow/public/app.js:9656–9662  ·  view source on GitHub ↗
(current, workInProgress)

Source from the content-addressed store, hash-verified

9654 }
9655
9656 function updateForwardRef(current, workInProgress) {
9657 var render = workInProgress.type.render;
9658 var nextChildren = render(workInProgress.pendingProps, workInProgress.ref);
9659 reconcileChildren(current, workInProgress, nextChildren);
9660 memoizeProps(workInProgress, nextChildren);
9661 return workInProgress.child;
9662 }
9663
9664 function updateFragment(current, workInProgress) {
9665 var nextChildren = workInProgress.pendingProps;

Callers 1

beginWorkFunction · 0.70

Calls 2

reconcileChildrenFunction · 0.70
memoizePropsFunction · 0.70

Tested by

no test coverage detected