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

Function markRef

code/communication/public/app.js:9852–9858  ·  view source on GitHub ↗
(current, workInProgress)

Source from the content-addressed store, hash-verified

9850 }
9851
9852 function markRef(current, workInProgress) {
9853 var ref = workInProgress.ref;
9854 if (current === null && ref !== null || current !== null && current.ref !== ref) {
9855 // Schedule a Ref effect
9856 workInProgress.effectTag |= Ref;
9857 }
9858 }
9859
9860 function updateFunctionalComponent(current, workInProgress) {
9861 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