switch-non-final-default.js — react Source File
Architecture documentation for switch-non-final-default.js, a javascript file in the react codebase.
Entity Profile
Relationship Graph
Source Code
// @enablePropagateDepsInHIR
function Component(props) {
let x = [];
let y;
switch (props.p0) {
case 1: {
break;
}
case true: {
x.push(props.p2);
y = [];
}
default: {
break;
}
case false: {
y = x;
break;
}
}
const child = <Component data={x} />;
y.push(props.p4);
return <Component data={y}>{child}</Component>;
}
Domain
Subdomains
Functions
Source
Frequently Asked Questions
What does switch-non-final-default.js do?
switch-non-final-default.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 switch-non-final-default.js?
switch-non-final-default.js defines 1 function(s): Component.
Where is switch-non-final-default.js in the architecture?
switch-non-final-default.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/propagate-scope-deps-hir-fork/switch-non-final-default.js (domain: TestingUtilities, subdomain: Fixtures, directory: compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/propagate-scope-deps-hir-fork).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free