rename-source-variables-nested-object-method.js — react Source File
Architecture documentation for rename-source-variables-nested-object-method.js, a javascript file in the react codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 0ac7bb97_975e_4cde_b538_94aee9c5faed["rename-source-variables-nested-object-method.js"] 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"] 0ac7bb97_975e_4cde_b538_94aee9c5faed --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05 style 0ac7bb97_975e_4cde_b538_94aee9c5faed 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 a = {
foo() {
const b = {
bar() {
console.log($);
console.log(t0);
console.log(c_0);
return identity(props.value);
},
};
return b;
},
};
return a.foo().bar();
}
export const FIXTURE_ENTRYPOINT = {
fn: useFoo,
params: [{value: 42}],
};
Domain
Subdomains
Functions
Dependencies
- shared-runtime
Source
Frequently Asked Questions
What does rename-source-variables-nested-object-method.js do?
rename-source-variables-nested-object-method.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 rename-source-variables-nested-object-method.js?
rename-source-variables-nested-object-method.js defines 1 function(s): useFoo.
What does rename-source-variables-nested-object-method.js depend on?
rename-source-variables-nested-object-method.js imports 1 module(s): shared-runtime.
Where is rename-source-variables-nested-object-method.js in the architecture?
rename-source-variables-nested-object-method.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/rename-source-variables-nested-object-method.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