Home / File/ const-propagation-phi-nodes.ts — react Source File

const-propagation-phi-nodes.ts — react Source File

Architecture documentation for const-propagation-phi-nodes.ts, a typescript file in the react codebase.

Entity Profile

Relationship Graph

Source Code

function useFoo(setOne: boolean) {
  let x;
  let y;
  let z;
  if (setOne) {
    x = y = z = 1;
  } else {
    x = 2;
    y = 3;
    z = 5;
  }
  return {x, y, z};
}

export const FIXTURE_ENTRYPOINT = {
  fn: useFoo,
  params: [true],
};

Subdomains

Functions

Frequently Asked Questions

What does const-propagation-phi-nodes.ts do?
const-propagation-phi-nodes.ts is a source file in the react codebase, written in typescript. It belongs to the TestingUtilities domain, Fixtures subdomain.
What functions are defined in const-propagation-phi-nodes.ts?
const-propagation-phi-nodes.ts defines 1 function(s): useFoo.
Where is const-propagation-phi-nodes.ts in the architecture?
const-propagation-phi-nodes.ts is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/const-propagation-phi-nodes.ts (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