Home / File/ object-mutated-in-consequent-alternate-both-return.js — react Source File

object-mutated-in-consequent-alternate-both-return.js — react Source File

Architecture documentation for object-mutated-in-consequent-alternate-both-return.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
  86afc6f5_1c70_0406_fb53_532f3a96ed80["object-mutated-in-consequent-alternate-both-return.js"]
  006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"]
  86afc6f5_1c70_0406_fb53_532f3a96ed80 --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05
  style 86afc6f5_1c70_0406_fb53_532f3a96ed80 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import {makeObject_Primitives} from 'shared-runtime';

function Component(props) {
  const object = makeObject_Primitives();
  if (props.cond) {
    object.value = 1;
    return object;
  } else {
    object.value = props.value;
    return object;
  }
}

export const FIXTURE_ENTRYPOINT = {
  fn: Component,
  params: [{cond: false, value: [0, 1, 2]}],
};

Subdomains

Functions

Dependencies

  • shared-runtime

Frequently Asked Questions

What does object-mutated-in-consequent-alternate-both-return.js do?
object-mutated-in-consequent-alternate-both-return.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 object-mutated-in-consequent-alternate-both-return.js?
object-mutated-in-consequent-alternate-both-return.js defines 1 function(s): Component.
What does object-mutated-in-consequent-alternate-both-return.js depend on?
object-mutated-in-consequent-alternate-both-return.js imports 1 module(s): shared-runtime.
Where is object-mutated-in-consequent-alternate-both-return.js in the architecture?
object-mutated-in-consequent-alternate-both-return.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/object-mutated-in-consequent-alternate-both-return.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