MCPcopy Index your code
hub / github.com/react/react / markUpdate

Function markUpdate

packages/react-reconciler/src/ReactFiberCompleteWork.js:197–199  ·  view source on GitHub ↗

* Tag the fiber with an update effect. This turns a Placement into * a PlacementAndUpdate.

(workInProgress: Fiber)

Source from the content-addressed store, hash-verified

195 * a PlacementAndUpdate.
196 */
197function markUpdate(workInProgress: Fiber) {
198 workInProgress.flags |= Update;
199}
200
201/**
202 * Tag the fiber with Cloned in persistent mode to signal that

Callers 4

updateHostContainerFunction · 0.85
updateHostComponentFunction · 0.85
updateHostTextFunction · 0.85
completeWorkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected