Home / Function/ markCommitStarted() — react Function Reference

markCommitStarted() — react Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

packages/react-reconciler/src/ReactFiberDevToolsHook.js lines 217–226

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

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free