Home / Class/ SecondComponent Class — react Architecture

SecondComponent Class — react Architecture

Architecture documentation for the SecondComponent class in ReactProfiler-test.internal.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  f14a48e3_4291_6c6e_7611_fa5c0f5bab37["SecondComponent"]
  da651484_5f55_0111_b32f_8124f5c087a3["ReactProfiler-test.internal.js"]
  f14a48e3_4291_6c6e_7611_fa5c0f5bab37 -->|defined in| da651484_5f55_0111_b32f_8124f5c087a3
  dbb9bc77_0d33_b2a4_0f86_fa8c954a89af["render()"]
  f14a48e3_4291_6c6e_7611_fa5c0f5bab37 -->|method| dbb9bc77_0d33_b2a4_0f86_fa8c954a89af

Relationship Graph

Source Code

packages/react/src/__tests__/ReactProfiler-test.internal.js lines 941–949

      class SecondComponent extends React.Component {
        state = {renderTime: 2};
        render() {
          second = this;
          Scheduler.unstable_advanceTime(this.state.renderTime);
          Scheduler.log('SecondComponent:' + this.state.renderTime);
          return <Yield renderTime={7} />;
        }
      }

Frequently Asked Questions

What is the SecondComponent class?
SecondComponent is a class in the react codebase, defined in packages/react/src/__tests__/ReactProfiler-test.internal.js.
Where is SecondComponent defined?
SecondComponent is defined in packages/react/src/__tests__/ReactProfiler-test.internal.js at line 941.

Analyze Your Own Codebase

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

Try Supermodel Free