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

Function markUpdate

code/controlled-uncontrolled/public/app.js:9892–9896  ·  view source on GitHub ↗
(workInProgress)

Source from the content-addressed store, hash-verified

9890
9891
9892 function markUpdate(workInProgress) {
9893 // Tag the fiber with an update effect. This turns a Placement into
9894 // an UpdateAndPlacement.
9895 workInProgress.effectTag |= Update;
9896 }
9897
9898 function markRef(workInProgress) {
9899 workInProgress.effectTag |= Ref;

Callers 2

ReactFiberCompleteWorkFunction · 0.70
completeWorkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected