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

Function markRef

code/one-direction-data-flow/public/app.js:9690–9696  ·  view source on GitHub ↗
(current, workInProgress)

Source from the content-addressed store, hash-verified

9688 }
9689
9690 function markRef(current, workInProgress) {
9691 var ref = workInProgress.ref;
9692 if (current === null && ref !== null || current !== null && current.ref !== ref) {
9693 // Schedule a Ref effect
9694 workInProgress.effectTag |= Ref;
9695 }
9696 }
9697
9698 function updateFunctionalComponent(current, workInProgress) {
9699 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