Home / File/ rename-source-variables.ts — react Source File

rename-source-variables.ts — react Source File

Architecture documentation for rename-source-variables.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
  9cbf10b4_c0e8_d778_b7ab_7a75652e7c62["rename-source-variables.ts"]
  006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"]
  9cbf10b4_c0e8_d778_b7ab_7a75652e7c62 --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05
  style 9cbf10b4_c0e8_d778_b7ab_7a75652e7c62 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

// @enableChangeVariableCodegen
import {identity} from 'shared-runtime';

const $ = 'module_$';
const t0 = 'module_t0';
const c_0 = 'module_c_0';
function useFoo(props: {value: number}): number {
  const results = identity(props.value);
  console.log($);
  console.log(t0);
  console.log(c_0);
  return results;
}

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

Subdomains

Functions

Dependencies

  • shared-runtime

Frequently Asked Questions

What does rename-source-variables.ts do?
rename-source-variables.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 rename-source-variables.ts?
rename-source-variables.ts defines 1 function(s): useFoo.
What does rename-source-variables.ts depend on?
rename-source-variables.ts imports 1 module(s): shared-runtime.
Where is rename-source-variables.ts in the architecture?
rename-source-variables.ts is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/rename-source-variables.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