lint-repro.js — react Source File
Architecture documentation for lint-repro.js, a javascript file in the react codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 06c19715_4e37_1d26_3f08_912c84aab42b["lint-repro.js"] 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"] 06c19715_4e37_1d26_3f08_912c84aab42b --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05 88970095_8bef_0067_4390_e1cc9fd94459["useEffectWrapper"] 06c19715_4e37_1d26_3f08_912c84aab42b --> 88970095_8bef_0067_4390_e1cc9fd94459 ac587885_e294_a1e9_b13f_5e7b920fdb42["react"] 06c19715_4e37_1d26_3f08_912c84aab42b --> ac587885_e294_a1e9_b13f_5e7b920fdb42 style 06c19715_4e37_1d26_3f08_912c84aab42b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
// @inferEffectDependencies @outputMode:"lint"
import {print} from 'shared-runtime';
import useEffectWrapper from 'useEffectWrapper';
import {AUTODEPS} from 'react';
function ReactiveVariable({propVal}) {
const arr = [propVal];
useEffectWrapper(() => print(arr), AUTODEPS);
}
Domain
Subdomains
Functions
Dependencies
- react
- shared-runtime
- useEffectWrapper
Source
Frequently Asked Questions
What does lint-repro.js do?
lint-repro.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 lint-repro.js?
lint-repro.js defines 1 function(s): ReactiveVariable.
What does lint-repro.js depend on?
lint-repro.js imports 3 module(s): react, shared-runtime, useEffectWrapper.
Where is lint-repro.js in the architecture?
lint-repro.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/infer-effect-dependencies/retry-lint-comparison/lint-repro.js (domain: TestingUtilities, subdomain: Fixtures, directory: compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/infer-effect-dependencies/retry-lint-comparison).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free