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

Function updateForwardRef

code/controlled-uncontrolled/public/app.js:9107–9113  ·  view source on GitHub ↗
(current, workInProgress)

Source from the content-addressed store, hash-verified

9105 }
9106
9107 function updateForwardRef(current, workInProgress) {
9108 var render = workInProgress.type.render;
9109 var nextChildren = render(workInProgress.pendingProps, workInProgress.ref);
9110 reconcileChildren(current, workInProgress, nextChildren);
9111 memoizeProps(workInProgress, nextChildren);
9112 return workInProgress.child;
9113 }
9114
9115 function updateFragment(current, workInProgress) {
9116 var nextChildren = workInProgress.pendingProps;

Callers 1

beginWorkFunction · 0.70

Calls 2

reconcileChildrenFunction · 0.70
memoizePropsFunction · 0.70

Tested by

no test coverage detected