Home / Function/ markStateUpdateScheduled() — react Function Reference

markStateUpdateScheduled() — react Function Reference

Architecture documentation for the markStateUpdateScheduled() function in ReactFiberDevToolsHook.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  5d065738_88a8_a8f5_e0fb_9034a08b8dd3["markStateUpdateScheduled()"]
  1f955e30_ff03_d9f9_d498_58b7dc7858dc["ReactFiberDevToolsHook.js"]
  5d065738_88a8_a8f5_e0fb_9034a08b8dd3 -->|defined in| 1f955e30_ff03_d9f9_d498_58b7dc7858dc
  style 5d065738_88a8_a8f5_e0fb_9034a08b8dd3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/react-reconciler/src/ReactFiberDevToolsHook.js lines 486–495

export function markStateUpdateScheduled(fiber: Fiber, lane: Lane): void {
  if (enableSchedulingProfiler) {
    if (
      injectedProfilingHooks !== null &&
      typeof injectedProfilingHooks.markStateUpdateScheduled === 'function'
    ) {
      injectedProfilingHooks.markStateUpdateScheduled(fiber, lane);
    }
  }
}

Domain

Subdomains

Frequently Asked Questions

What does markStateUpdateScheduled() do?
markStateUpdateScheduled() is a function in the react codebase, defined in packages/react-reconciler/src/ReactFiberDevToolsHook.js.
Where is markStateUpdateScheduled() defined?
markStateUpdateScheduled() is defined in packages/react-reconciler/src/ReactFiberDevToolsHook.js at line 486.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free