jsx-and-passed.ts — react Source File
Architecture documentation for jsx-and-passed.ts, a typescript file in the react codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 91ff5ca2_a540_05d7_3d9f_22e4fbb3eadd["jsx-and-passed.ts"] 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"] 91ff5ca2_a540_05d7_3d9f_22e4fbb3eadd --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05 style 91ff5ca2_a540_05d7_3d9f_22e4fbb3eadd fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {createHookWrapper} from 'shared-runtime';
function useFoo({arr1}) {
const cb1 = e => arr1[0].value + e.value;
const x = arr1.map(cb1);
return [x, cb1];
}
export const FIXTURE_ENTRYPOINT = {
fn: createHookWrapper(useFoo),
params: [{arr1: [], arr2: []}],
sequentialRenders: [
{arr1: [], arr2: []},
{arr1: [], arr2: null},
{arr1: [{value: 1}, {value: 2}], arr2: [{value: -1}]},
],
};
Domain
Subdomains
Functions
Dependencies
- shared-runtime
Source
Frequently Asked Questions
What does jsx-and-passed.ts do?
jsx-and-passed.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 jsx-and-passed.ts?
jsx-and-passed.ts defines 1 function(s): useFoo.
What does jsx-and-passed.ts depend on?
jsx-and-passed.ts imports 1 module(s): shared-runtime.
Where is jsx-and-passed.ts in the architecture?
jsx-and-passed.ts is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/inner-function/nullable-objects/assume-invoked/jsx-and-passed.ts (domain: TestingUtilities, subdomain: Fixtures, directory: compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/inner-function/nullable-objects/assume-invoked).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free