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