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