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

Function markRef

code/higher-order-components/public/app.js:9811–9817  ·  view source on GitHub ↗
(current, workInProgress)

Source from the content-addressed store, hash-verified

9809 }
9810
9811 function markRef(current, workInProgress) {
9812 var ref = workInProgress.ref;
9813 if (current === null && ref !== null || current !== null && current.ref !== ref) {
9814 // Schedule a Ref effect
9815 workInProgress.effectTag |= Ref;
9816 }
9817 }
9818
9819 function updateFunctionalComponent(current, workInProgress) {
9820 var fn = workInProgress.type;

Callers 3

finishClassComponentFunction · 0.70
updateHostComponentFunction · 0.70
completeWorkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected