Home / Function/ Hello() — react Function Reference

Hello() — react Function Reference

Architecture documentation for the Hello() function in hello.e2e.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  39570d49_d895_1c67_03b7_d167e159b4af["Hello()"]
  e9248ace_b139_9678_a79d_b7d2cb6929a0["hello.e2e.js"]
  39570d49_d895_1c67_03b7_d167e159b4af -->|defined in| e9248ace_b139_9678_a79d_b7d2cb6929a0
  ce4848f8_46e9_ec40_9ee1_bb0abaf07e5b["log()"]
  39570d49_d895_1c67_03b7_d167e159b4af -->|calls| ce4848f8_46e9_ec40_9ee1_bb0abaf07e5b
  style 39570d49_d895_1c67_03b7_d167e159b4af fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/__tests__/e2e/hello.e2e.js lines 12–23

function Hello({name}) {
  const items = [1, 2, 3].map(item => {
    log(`recomputing ${item}`);
    return <div key={item}>Item {item}</div>;
  });
  return (
    <div>
      Hello<b>{name}</b>
      {items}
    </div>
  );
}

Subdomains

Calls

Frequently Asked Questions

What does Hello() do?
Hello() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/__tests__/e2e/hello.e2e.js.
Where is Hello() defined?
Hello() is defined in compiler/packages/babel-plugin-react-compiler/src/__tests__/e2e/hello.e2e.js at line 12.
What does Hello() call?
Hello() calls 1 function(s): log.

Analyze Your Own Codebase

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

Try Supermodel Free