Home / Function/ markComponentPassiveEffectUnmountStarted() — react Function Reference

markComponentPassiveEffectUnmountStarted() — react Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  05d943ce_0f8c_13ce_9358_02913d60d97f["markComponentPassiveEffectUnmountStarted()"]
  1f955e30_ff03_d9f9_d498_58b7dc7858dc["ReactFiberDevToolsHook.js"]
  05d943ce_0f8c_13ce_9358_02913d60d97f -->|defined in| 1f955e30_ff03_d9f9_d498_58b7dc7858dc
  31dbea93_6a15_5a88_2a94_0513d6287f5a["commitHookEffectListUnmount()"]
  31dbea93_6a15_5a88_2a94_0513d6287f5a -->|calls| 05d943ce_0f8c_13ce_9358_02913d60d97f
  style 05d943ce_0f8c_13ce_9358_02913d60d97f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/react-reconciler/src/ReactFiberDevToolsHook.js lines 285–295

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

Domain

Subdomains

Frequently Asked Questions

What does markComponentPassiveEffectUnmountStarted() do?
markComponentPassiveEffectUnmountStarted() is a function in the react codebase, defined in packages/react-reconciler/src/ReactFiberDevToolsHook.js.
Where is markComponentPassiveEffectUnmountStarted() defined?
markComponentPassiveEffectUnmountStarted() is defined in packages/react-reconciler/src/ReactFiberDevToolsHook.js at line 285.
What calls markComponentPassiveEffectUnmountStarted()?
markComponentPassiveEffectUnmountStarted() is called by 1 function(s): commitHookEffectListUnmount.

Analyze Your Own Codebase

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

Try Supermodel Free