Home / Function/ markComponentRenderStarted() — react Function Reference

markComponentRenderStarted() — react Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  1df0dd5b_17c8_c98c_3521_17154496ef7a["markComponentRenderStarted()"]
  1f955e30_ff03_d9f9_d498_58b7dc7858dc["ReactFiberDevToolsHook.js"]
  1df0dd5b_17c8_c98c_3521_17154496ef7a -->|defined in| 1f955e30_ff03_d9f9_d498_58b7dc7858dc
  f3abfeea_868f_5c8e_9744_74c9973ded12["updateForwardRef()"]
  f3abfeea_868f_5c8e_9744_74c9973ded12 -->|calls| 1df0dd5b_17c8_c98c_3521_17154496ef7a
  50e17875_d138_1098_df3a_5e5668c9be3d["updateFunctionComponent()"]
  50e17875_d138_1098_df3a_5e5668c9be3d -->|calls| 1df0dd5b_17c8_c98c_3521_17154496ef7a
  dfac1880_449a_ca3a_3037_ca7205fa8fa7["replayFunctionComponent()"]
  dfac1880_449a_ca3a_3037_ca7205fa8fa7 -->|calls| 1df0dd5b_17c8_c98c_3521_17154496ef7a
  fec6f182_8acb_a259_b114_e6d1db8ac64b["finishClassComponent()"]
  fec6f182_8acb_a259_b114_e6d1db8ac64b -->|calls| 1df0dd5b_17c8_c98c_3521_17154496ef7a
  style 1df0dd5b_17c8_c98c_3521_17154496ef7a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/react-reconciler/src/ReactFiberDevToolsHook.js lines 239–248

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

Domain

Subdomains

Frequently Asked Questions

What does markComponentRenderStarted() do?
markComponentRenderStarted() is a function in the react codebase, defined in packages/react-reconciler/src/ReactFiberDevToolsHook.js.
Where is markComponentRenderStarted() defined?
markComponentRenderStarted() is defined in packages/react-reconciler/src/ReactFiberDevToolsHook.js at line 239.
What calls markComponentRenderStarted()?
markComponentRenderStarted() is called by 4 function(s): finishClassComponent, replayFunctionComponent, updateForwardRef, updateFunctionComponent.

Analyze Your Own Codebase

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

Try Supermodel Free