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

Function markRef

code/dependency-injection-module-system/public/app.js:9868–9874  ·  view source on GitHub ↗
(current, workInProgress)

Source from the content-addressed store, hash-verified

9866 }
9867
9868 function markRef(current, workInProgress) {
9869 var ref = workInProgress.ref;
9870 if (current === null && ref !== null || current !== null && current.ref !== ref) {
9871 // Schedule a Ref effect
9872 workInProgress.effectTag |= Ref;
9873 }
9874 }
9875
9876 function updateFunctionalComponent(current, workInProgress) {
9877 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