call-spread-argument-set.ts — react Source File
Architecture documentation for call-spread-argument-set.ts, a typescript file in the react codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 2014fe8b_0379_66b8_c6c2_b5978078f1d4["call-spread-argument-set.ts"] 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"] 2014fe8b_0379_66b8_c6c2_b5978078f1d4 --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05 style 2014fe8b_0379_66b8_c6c2_b5978078f1d4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {useIdentity} from 'shared-runtime';
/**
* Forked version of call-spread-argument-mutable-iterator that is known to not mutate
* the spread argument since it is a Set
*/
function useFoo() {
const s = new Set([1, 2]);
useIdentity(null);
return [Math.max(...s), s];
}
export const FIXTURE_ENTRYPOINT = {
fn: useFoo,
params: [{}],
sequentialRenders: [{}, {}],
};
Domain
Subdomains
Functions
Dependencies
- shared-runtime
Source
Frequently Asked Questions
What does call-spread-argument-set.ts do?
call-spread-argument-set.ts is a source file in the react codebase, written in typescript. It belongs to the TestingUtilities domain, Fixtures subdomain.
What functions are defined in call-spread-argument-set.ts?
call-spread-argument-set.ts defines 1 function(s): useFoo.
What does call-spread-argument-set.ts depend on?
call-spread-argument-set.ts imports 1 module(s): shared-runtime.
Where is call-spread-argument-set.ts in the architecture?
call-spread-argument-set.ts is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/global-types/call-spread-argument-set.ts (domain: TestingUtilities, subdomain: Fixtures, directory: compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/global-types).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free