Home / Function/ Example() — react Function Reference

Example() — react Function Reference

Architecture documentation for the Example() function in invalid-dynamically-constructed-component-method-call.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  76650e48_2233_d558_f77d_ee3c417bdf2f["Example()"]
  fcbb84c4_6f51_c8e3_da9c_b983066c6ae3["invalid-dynamically-constructed-component-method-call.js"]
  76650e48_2233_d558_f77d_ee3c417bdf2f -->|defined in| fcbb84c4_6f51_c8e3_da9c_b983066c6ae3
  style 76650e48_2233_d558_f77d_ee3c417bdf2f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/static-components/invalid-dynamically-constructed-component-method-call.js lines 2–5

function Example(props) {
  const Component = props.foo.bar();
  return <Component />;
}

Subdomains

Frequently Asked Questions

What does Example() do?
Example() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/static-components/invalid-dynamically-constructed-component-method-call.js.
Where is Example() defined?
Example() is defined in compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/static-components/invalid-dynamically-constructed-component-method-call.js at line 2.

Analyze Your Own Codebase

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

Try Supermodel Free