repro-ref-mutable-range.tsx — react Source File
Architecture documentation for repro-ref-mutable-range.tsx, a tsx file in the react codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR ce92d0b4_10c1_60c8_7067_ecdea0582b7d["repro-ref-mutable-range.tsx"] 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"] ce92d0b4_10c1_60c8_7067_ecdea0582b7d --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05 style ce92d0b4_10c1_60c8_7067_ecdea0582b7d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {Stringify, identity, mutate, CONST_TRUE} from 'shared-runtime';
function Foo(props, ref) {
const value = {};
if (CONST_TRUE) {
mutate(value);
return <Stringify ref={ref} />;
}
mutate(value);
if (CONST_TRUE) {
return <Stringify ref={identity(ref)} />;
}
return value;
}
export const FIXTURE_ENTRYPOINT = {
fn: Foo,
params: [{}, {current: 'fake-ref-object'}],
};
Domain
Subdomains
Functions
Dependencies
- shared-runtime
Source
Frequently Asked Questions
What does repro-ref-mutable-range.tsx do?
repro-ref-mutable-range.tsx is a source file in the react codebase, written in tsx. It belongs to the TestingUtilities domain, Fixtures subdomain.
What functions are defined in repro-ref-mutable-range.tsx?
repro-ref-mutable-range.tsx defines 1 function(s): Foo.
What does repro-ref-mutable-range.tsx depend on?
repro-ref-mutable-range.tsx imports 1 module(s): shared-runtime.
Where is repro-ref-mutable-range.tsx in the architecture?
repro-ref-mutable-range.tsx is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/repro-ref-mutable-range.tsx (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