merge-nested-scopes-with-same-inputs.js — react Source File
Architecture documentation for merge-nested-scopes-with-same-inputs.js, a javascript file in the react codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR b0d81b25_8148_5889_07f6_7cb7b907226c["merge-nested-scopes-with-same-inputs.js"] 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"] b0d81b25_8148_5889_07f6_7cb7b907226c --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05 style b0d81b25_8148_5889_07f6_7cb7b907226c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {setProperty} from 'shared-runtime';
function Component(props) {
// start of scope for y, depend on props.a
let y = {};
// nested scope for x, dependent on props.a
const x = {};
setProperty(x, props.a);
// end of scope for x
y.a = props.a;
y.x = x;
// end of scope for y
return y;
}
export const FIXTURE_ENTRYPOINT = {
fn: Component,
params: [{a: 42}],
};
Domain
Subdomains
Functions
Dependencies
- shared-runtime
Source
Frequently Asked Questions
What does merge-nested-scopes-with-same-inputs.js do?
merge-nested-scopes-with-same-inputs.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 merge-nested-scopes-with-same-inputs.js?
merge-nested-scopes-with-same-inputs.js defines 1 function(s): Component.
What does merge-nested-scopes-with-same-inputs.js depend on?
merge-nested-scopes-with-same-inputs.js imports 1 module(s): shared-runtime.
Where is merge-nested-scopes-with-same-inputs.js in the architecture?
merge-nested-scopes-with-same-inputs.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/merge-nested-scopes-with-same-inputs.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