switch-with-only-default.js — react Source File
Architecture documentation for switch-with-only-default.js, a javascript file in the react codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR aa700669_f4f6_8224_417a_632c35636c2f["switch-with-only-default.js"] 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"] aa700669_f4f6_8224_417a_632c35636c2f --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05 style aa700669_f4f6_8224_417a_632c35636c2f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {Stringify} from 'shared-runtime';
function Component({kind, ...props}) {
switch (kind) {
default:
return <Stringify {...props} />;
}
}
export const FIXTURE_ENTRYPOINT = {
fn: Component,
params: [{kind: 'foo', a: 1, b: true, c: 'sathya'}],
};
Domain
Subdomains
Functions
Dependencies
- shared-runtime
Source
Frequently Asked Questions
What does switch-with-only-default.js do?
switch-with-only-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-with-only-default.js?
switch-with-only-default.js defines 1 function(s): Component.
What does switch-with-only-default.js depend on?
switch-with-only-default.js imports 1 module(s): shared-runtime.
Where is switch-with-only-default.js in the architecture?
switch-with-only-default.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/switch-with-only-default.js (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