Home / Function/ AboutPage() — react Function Reference

AboutPage() — react Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  86fc12ce_79d6_69d1_a3cd_e48c9b17256a["AboutPage()"]
  367386fb_0810_3989_407d_4f7672d39325["AboutPage.js"]
  86fc12ce_79d6_69d1_a3cd_e48c9b17256a -->|defined in| 367386fb_0810_3989_407d_4f7672d39325
  style 86fc12ce_79d6_69d1_a3cd_e48c9b17256a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

fixtures/nesting/src/modern/AboutPage.js lines 11–27

function AboutPage({counter, dispatch}) {
  const theme = useContext(ThemeContext);
  return (
    <>
      <h2>src/modern/AboutPage.js</h2>
      <h3 style={{color: theme}}>
        This component is rendered by the outer React ({React.version}).
      </h3>
      <Greeting />
      <br />
      <p>
        Counter: {counter}{' '}
        <button onClick={() => dispatch({type: 'increment'})}>+</button>
      </p>
    </>
  );
}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free