MCPcopy Index your code
hub / github.com/microsoft/SandDance / markRef

Function markRef

docs/external/js/react-dom.development.js:17133–17140  ·  view source on GitHub ↗
(current, workInProgress)

Source from the content-addressed store, hash-verified

17131 }
17132
17133 function markRef(current, workInProgress) {
17134 var ref = workInProgress.ref;
17135
17136 if (current === null && ref !== null || current !== null && current.ref !== ref) {
17137 // Schedule a Ref effect
17138 workInProgress.effectTag |= Ref;
17139 }
17140 }
17141
17142 function updateFunctionComponent(current, workInProgress, Component, nextProps, renderExpirationTime) {
17143 {

Callers 2

finishClassComponentFunction · 0.85
updateHostComponentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected