Home / Function/ constructor() — react Function Reference

constructor() — react Function Reference

Architecture documentation for the constructor() function in SchedulingEventsView.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  930efe0a_9650_bcc6_c2e7_c4cd4f8278e7["constructor()"]
  b603a917_4a82_e943_1f8b_6d182bba008b["SchedulingEventsView"]
  930efe0a_9650_bcc6_c2e7_c4cd4f8278e7 -->|defined in| b603a917_4a82_e943_1f8b_6d182bba008b
  style 930efe0a_9650_bcc6_c2e7_c4cd4f8278e7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/react-devtools-timeline/src/content-views/SchedulingEventsView.js lines 53–61

  constructor(surface: Surface, frame: Rect, profilerData: TimelineData) {
    super(surface, frame);
    this._profilerData = profilerData;

    this._intrinsicSize = {
      width: this._profilerData.duration,
      height: EVENT_ROW_HEIGHT_FIXED,
    };
  }

Domain

Subdomains

Frequently Asked Questions

What does constructor() do?
constructor() is a function in the react codebase, defined in packages/react-devtools-timeline/src/content-views/SchedulingEventsView.js.
Where is constructor() defined?
constructor() is defined in packages/react-devtools-timeline/src/content-views/SchedulingEventsView.js at line 53.

Analyze Your Own Codebase

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

Try Supermodel Free