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

Function updateForwardRef

code/third-party/public/app.js:9016–9022  ·  view source on GitHub ↗
(current, workInProgress)

Source from the content-addressed store, hash-verified

9014 }
9015
9016 function updateForwardRef(current, workInProgress) {
9017 var render = workInProgress.type.render;
9018 var nextChildren = render(workInProgress.pendingProps, workInProgress.ref);
9019 reconcileChildren(current, workInProgress, nextChildren);
9020 memoizeProps(workInProgress, nextChildren);
9021 return workInProgress.child;
9022 }
9023
9024 function updateFragment(current, workInProgress) {
9025 var nextChildren = workInProgress.pendingProps;

Callers 1

beginWorkFunction · 0.70

Calls 2

reconcileChildrenFunction · 0.70
memoizePropsFunction · 0.70

Tested by

no test coverage detected