Example() — react Function Reference
Architecture documentation for the Example() function in repro-mutate-result-of-function-call-with-frozen-argument-in-function-expression.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD e5b94caf_123a_78c6_9f5b_707d927d0058["Example()"] aa546377_4ec2_914f_4c36_01e699b0dfa5["repro-mutate-result-of-function-call-with-frozen-argument-in-function-expression.js"] e5b94caf_123a_78c6_9f5b_707d927d0058 -->|defined in| aa546377_4ec2_914f_4c36_01e699b0dfa5 style e5b94caf_123a_78c6_9f5b_707d927d0058 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/repro-mutate-result-of-function-call-with-frozen-argument-in-function-expression.js lines 3–13
function Example(props) {
const object = props.object;
const f = () => {
// The argument maybe-aliases into the return
const obj = identity(object);
obj.property = props.value;
return obj;
};
const obj = f();
return <Stringify obj={obj} />;
}
Domain
Subdomains
Source
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-function-call-with-frozen-argument-in-function-expression.js.
Where is Example() defined?
Example() is defined in compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/repro-mutate-result-of-function-call-with-frozen-argument-in-function-expression.js at line 3.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free