Home / Function/ Example() — react Function Reference

Example() — react Function Reference

Architecture documentation for the Example() function in repro-mutate-result-of-method-call-on-frozen-value-is-allowed.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  917ae4e8_40d1_22d5_0f0d_af2273139970["Example()"]
  bfca8b55_4be4_e0f3_f31d_edb97b083fc4["repro-mutate-result-of-method-call-on-frozen-value-is-allowed.js"]
  917ae4e8_40d1_22d5_0f0d_af2273139970 -->|defined in| bfca8b55_4be4_e0f3_f31d_edb97b083fc4
  style 917ae4e8_40d1_22d5_0f0d_af2273139970 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/repro-mutate-result-of-method-call-on-frozen-value-is-allowed.js lines 3–7

function Example(props) {
  const obj = props.object.makeObject();
  obj.property = props.value;
  return <Stringify obj={obj} />;
}

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/repro-mutate-result-of-method-call-on-frozen-value-is-allowed.js.
Where is Example() defined?
Example() is defined in compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/repro-mutate-result-of-method-call-on-frozen-value-is-allowed.js at line 3.

Analyze Your Own Codebase

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

Try Supermodel Free