MCPcopy
hub / github.com/facebook/react / isCurrentUpdateNested

Function isCurrentUpdateNested

packages/react-reconciler/src/ReactProfilerTimer.js:541–543  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

539let nestedUpdateScheduled: boolean = false;
540
541export function isCurrentUpdateNested(): boolean {
542 return currentUpdateIsNested;
543}
544
545export function markNestedUpdateScheduled(): void {
546 if (enableProfilerNestedUpdatePhase) {

Callers 2

commitProfilerFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected