Home / File/ repro-mutate-result-of-function-call-with-frozen-argument-in-function-expression.js — react Source File

repro-mutate-result-of-function-call-with-frozen-argument-in-function-expression.js — react Source File

Architecture documentation for repro-mutate-result-of-function-call-with-frozen-argument-in-function-expression.js, a javascript file in the react codebase. 1 imports, 0 dependents.

File javascript TestingUtilities Fixtures 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  c6b257b8_e531_b2da_a4ec_970b69081eeb["repro-mutate-result-of-function-call-with-frozen-argument-in-function-expression.js"]
  006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"]
  c6b257b8_e531_b2da_a4ec_970b69081eeb --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05
  style c6b257b8_e531_b2da_a4ec_970b69081eeb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import {identity, makeObject_Primitives, Stringify} from 'shared-runtime';

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} />;
}

export const FIXTURE_ENTRYPOINT = {
  fn: Example,
  params: [{object: makeObject_Primitives(), value: 42}],
};

Subdomains

Functions

Dependencies

  • shared-runtime

Frequently Asked Questions

What does repro-mutate-result-of-function-call-with-frozen-argument-in-function-expression.js do?
repro-mutate-result-of-function-call-with-frozen-argument-in-function-expression.js is a source file in the react codebase, written in javascript. It belongs to the TestingUtilities domain, Fixtures subdomain.
What functions are defined in repro-mutate-result-of-function-call-with-frozen-argument-in-function-expression.js?
repro-mutate-result-of-function-call-with-frozen-argument-in-function-expression.js defines 1 function(s): Example.
What does repro-mutate-result-of-function-call-with-frozen-argument-in-function-expression.js depend on?
repro-mutate-result-of-function-call-with-frozen-argument-in-function-expression.js imports 1 module(s): shared-runtime.
Where is repro-mutate-result-of-function-call-with-frozen-argument-in-function-expression.js in the architecture?
repro-mutate-result-of-function-call-with-frozen-argument-in-function-expression.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/repro-mutate-result-of-function-call-with-frozen-argument-in-function-expression.js (domain: TestingUtilities, subdomain: Fixtures, directory: compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler).

Analyze Your Own Codebase

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

Try Supermodel Free