Home / File/ nested-scopes-begin-same-instr-valueblock.ts — react Source File

nested-scopes-begin-same-instr-valueblock.ts — react Source File

Architecture documentation for nested-scopes-begin-same-instr-valueblock.ts, a typescript file in the react codebase. 1 imports, 0 dependents.

File typescript TestingUtilities Fixtures 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  f4304a5a_2516_980f_0033_87ce4d3c6473["nested-scopes-begin-same-instr-valueblock.ts"]
  006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"]
  f4304a5a_2516_980f_0033_87ce4d3c6473 --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05
  style f4304a5a_2516_980f_0033_87ce4d3c6473 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import {identity, mutate} from 'shared-runtime';

function Foo({cond}) {
  const x = identity(identity(cond)) ? {a: 2} : {b: 2};

  mutate(x);
  return x;
}

export const FIXTURE_ENTRYPOINT = {
  fn: Foo,
  params: [{cond: false}],
  sequentialRenders: [{cond: false}, {cond: false}, {cond: true}, {cond: true}],
};

Subdomains

Functions

Dependencies

  • shared-runtime

Frequently Asked Questions

What does nested-scopes-begin-same-instr-valueblock.ts do?
nested-scopes-begin-same-instr-valueblock.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 nested-scopes-begin-same-instr-valueblock.ts?
nested-scopes-begin-same-instr-valueblock.ts defines 1 function(s): Foo.
What does nested-scopes-begin-same-instr-valueblock.ts depend on?
nested-scopes-begin-same-instr-valueblock.ts imports 1 module(s): shared-runtime.
Where is nested-scopes-begin-same-instr-valueblock.ts in the architecture?
nested-scopes-begin-same-instr-valueblock.ts is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/nested-scopes-begin-same-instr-valueblock.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