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

Function updateForwardRef

code/styling/public/app.js:9783–9789  ·  view source on GitHub ↗
(current, workInProgress)

Source from the content-addressed store, hash-verified

9781 }
9782
9783 function updateForwardRef(current, workInProgress) {
9784 var render = workInProgress.type.render;
9785 var nextChildren = render(workInProgress.pendingProps, workInProgress.ref);
9786 reconcileChildren(current, workInProgress, nextChildren);
9787 memoizeProps(workInProgress, nextChildren);
9788 return workInProgress.child;
9789 }
9790
9791 function updateFragment(current, workInProgress) {
9792 var nextChildren = workInProgress.pendingProps;

Callers 1

beginWorkFunction · 0.70

Calls 2

reconcileChildrenFunction · 0.70
memoizePropsFunction · 0.70

Tested by

no test coverage detected