Home / File/ mutable-liverange-loop.js — react Source File

mutable-liverange-loop.js — react Source File

Architecture documentation for mutable-liverange-loop.js, a javascript file in the react codebase.

Entity Profile

Relationship Graph

Source Code

function mutate() {}
function cond() {}

function Component(props) {
  let a = {};
  let b = {};
  let c = {};
  let d = {};
  while (true) {
    mutate(a, b);
    if (cond(a)) {
      break;
    }
  }

  // all of these tests are seemingly readonly, since the values are never directly
  // mutated again. but they are all aliased by `d`, which is later modified, and
  // these are therefore mutable references:
  if (a) {
  }
  if (b) {
  }
  if (c) {
  }
  if (d) {
  }

  mutate(d, null);
}

Subdomains

Frequently Asked Questions

What does mutable-liverange-loop.js do?
mutable-liverange-loop.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 mutable-liverange-loop.js?
mutable-liverange-loop.js defines 3 function(s): Component, cond, mutate.
Where is mutable-liverange-loop.js in the architecture?
mutable-liverange-loop.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/mutable-liverange-loop.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