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

Function markRef

code/third-party/public/app.js:9050–9056  ·  view source on GitHub ↗
(current, workInProgress)

Source from the content-addressed store, hash-verified

9048 }
9049
9050 function markRef(current, workInProgress) {
9051 var ref = workInProgress.ref;
9052 if (current === null && ref !== null || current !== null && current.ref !== ref) {
9053 // Schedule a Ref effect
9054 workInProgress.effectTag |= Ref;
9055 }
9056 }
9057
9058 function updateFunctionalComponent(current, workInProgress) {
9059 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