MCPcopy Index your code
hub / github.com/caseywebdev/react-list / markRef

Function markRef

docs/index.js:9126–9138  ·  view source on GitHub ↗
(current, workInProgress)

Source from the content-addressed store, hash-verified

9124 return null;
9125}
9126function markRef(current, workInProgress) {
9127 var ref = workInProgress.ref;
9128 if (null === ref)
9129 null !== current &&
9130 null !== current.ref &&
9131 (workInProgress.flags |= 2097664);
9132 else {
9133 if ("function" !== typeof ref && "object" !== typeof ref)
9134 throw Error(formatProdErrorMessage(284));
9135 if (null === current || current.ref !== ref)
9136 workInProgress.flags |= 2097664;
9137 }
9138}
9139function updateFunctionComponent(
9140 current,
9141 workInProgress,

Callers 3

updateOffscreenComponentFunction · 0.85
updateClassComponentFunction · 0.85
beginWorkFunction · 0.85

Calls 1

formatProdErrorMessageFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…