mutation-within-jsx-and-break.tsx — react Source File
Architecture documentation for mutation-within-jsx-and-break.tsx, a tsx file in the react codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR bb337ef8_523e_740b_1af7_c5e32da7489d["mutation-within-jsx-and-break.tsx"] 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"] bb337ef8_523e_740b_1af7_c5e32da7489d --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05 style bb337ef8_523e_740b_1af7_c5e32da7489d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {
Stringify,
makeObject_Primitives,
mutate,
mutateAndReturn,
} from 'shared-runtime';
function useFoo({data}) {
let obj = null;
let myDiv = null;
label: {
if (data.cond) {
obj = makeObject_Primitives();
if (data.cond1) {
myDiv = <Stringify value={mutateAndReturn(obj)} />;
break label;
}
mutate(obj);
}
}
return myDiv;
}
export const FIXTURE_ENTRYPOINT = {
fn: useFoo,
params: [{data: {cond: true, cond1: true}}],
sequentialRenders: [
{data: {cond: true, cond1: true}},
{data: {cond: true, cond1: true}},
],
};
Domain
Subdomains
Functions
Dependencies
- shared-runtime
Source
Frequently Asked Questions
What does mutation-within-jsx-and-break.tsx do?
mutation-within-jsx-and-break.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 mutation-within-jsx-and-break.tsx?
mutation-within-jsx-and-break.tsx defines 1 function(s): useFoo.
What does mutation-within-jsx-and-break.tsx depend on?
mutation-within-jsx-and-break.tsx imports 1 module(s): shared-runtime.
Where is mutation-within-jsx-and-break.tsx in the architecture?
mutation-within-jsx-and-break.tsx is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/mutation-within-jsx-and-break.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