Home / Function/ HomePage() — react Function Reference

HomePage() — react Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  41cc6d5d_41f6_55b6_45fc_a1907683167e["HomePage()"]
  3b405302_4c58_97ae_9637_2c6ba3e025c2["HomePage.js"]
  41cc6d5d_41f6_55b6_45fc_a1907683167e -->|defined in| 3b405302_4c58_97ae_9637_2c6ba3e025c2
  style 41cc6d5d_41f6_55b6_45fc_a1907683167e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

fixtures/nesting/src/modern/HomePage.js lines 8–22

export default function HomePage({counter, dispatch}) {
  const theme = useContext(ThemeContext);
  return (
    <>
      <h2>src/modern/HomePage.js</h2>
      <h3 style={{color: theme}}>
        This component is rendered by the outer React ({React.version}).
      </h3>
      <Clock />
      <b>
        <Link to="/about">Go to About</Link>
      </b>
    </>
  );
}

Domain

Subdomains

Frequently Asked Questions

What does HomePage() do?
HomePage() is a function in the react codebase, defined in fixtures/nesting/src/modern/HomePage.js.
Where is HomePage() defined?
HomePage() is defined in fixtures/nesting/src/modern/HomePage.js at line 8.

Analyze Your Own Codebase

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

Try Supermodel Free