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

Function markRef

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

Source from the content-addressed store, hash-verified

9815 }
9816
9817 function markRef(current, workInProgress) {
9818 var ref = workInProgress.ref;
9819 if (current === null && ref !== null || current !== null && current.ref !== ref) {
9820 // Schedule a Ref effect
9821 workInProgress.effectTag |= Ref;
9822 }
9823 }
9824
9825 function updateFunctionalComponent(current, workInProgress) {
9826 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