constant-propagation-unary.js — react Source File
Architecture documentation for constant-propagation-unary.js, a javascript file in the react codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR e10998a7_8005_36b1_efa1_9ec29de84232["constant-propagation-unary.js"] 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"] e10998a7_8005_36b1_efa1_9ec29de84232 --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05 style e10998a7_8005_36b1_efa1_9ec29de84232 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {Stringify} from 'shared-runtime';
function foo() {
let _b;
const b = true;
if (!b) {
_b = 'bar';
} else {
_b = 'baz';
}
return (
<Stringify
value={{
_b,
b0: !true,
n0: !0,
n1: !1,
n2: !2,
n3: !-1,
s0: !'',
s1: !'a',
s2: !'ab',
u: !undefined,
n: !null,
}}
/>
);
}
export const FIXTURE_ENTRYPOINT = {
fn: foo,
params: [],
isComponent: false,
};
Domain
Subdomains
Functions
Dependencies
- shared-runtime
Source
Frequently Asked Questions
What does constant-propagation-unary.js do?
constant-propagation-unary.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 constant-propagation-unary.js?
constant-propagation-unary.js defines 1 function(s): foo.
What does constant-propagation-unary.js depend on?
constant-propagation-unary.js imports 1 module(s): shared-runtime.
Where is constant-propagation-unary.js in the architecture?
constant-propagation-unary.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/constant-propagation-unary.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