repro-instruction-part-of-already-closed-scope.js — react Source File
Architecture documentation for repro-instruction-part-of-already-closed-scope.js, a javascript file in the react codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 57289244_406e_d8fe_9a49_4278778199d0["repro-instruction-part-of-already-closed-scope.js"] 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"] 57289244_406e_d8fe_9a49_4278778199d0 --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05 style 57289244_406e_d8fe_9a49_4278778199d0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
// @enableAssumeHooksFollowRulesOfReact
import {Stringify, identity, useHook} from 'shared-runtime';
function Component({index}) {
const data = useHook();
const a = identity(data, index);
const b = identity(data, index);
const c = identity(data, index);
return (
<div>
<Stringify value={identity(b)} />
<Stringify value={identity(a)} />
<Stringify value={identity(c)} />
</div>
);
}
export const FIXTURE_ENTRYPOINT = {
fn: Component,
params: [{index: 0}],
};
Domain
Subdomains
Functions
Dependencies
- shared-runtime
Source
Frequently Asked Questions
What does repro-instruction-part-of-already-closed-scope.js do?
repro-instruction-part-of-already-closed-scope.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 repro-instruction-part-of-already-closed-scope.js?
repro-instruction-part-of-already-closed-scope.js defines 1 function(s): Component.
What does repro-instruction-part-of-already-closed-scope.js depend on?
repro-instruction-part-of-already-closed-scope.js imports 1 module(s): shared-runtime.
Where is repro-instruction-part-of-already-closed-scope.js in the architecture?
repro-instruction-part-of-already-closed-scope.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/repro-instruction-part-of-already-closed-scope.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