Home / Function/ markPassiveEffectsStarted() — react Function Reference

markPassiveEffectsStarted() — react Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

packages/react-reconciler/src/ReactFiberDevToolsHook.js lines 409–418

export function markPassiveEffectsStarted(lanes: Lanes): void {
  if (enableSchedulingProfiler) {
    if (
      injectedProfilingHooks !== null &&
      typeof injectedProfilingHooks.markPassiveEffectsStarted === 'function'
    ) {
      injectedProfilingHooks.markPassiveEffectsStarted(lanes);
    }
  }
}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free