babel-existing-react-runtime-import.js — react Source File
Architecture documentation for babel-existing-react-runtime-import.js, a javascript file in the react codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR a8e089a7_09e5_ee78_ff57_496bd9481c92["babel-existing-react-runtime-import.js"] ac587885_e294_a1e9_b13f_5e7b920fdb42["react"] a8e089a7_09e5_ee78_ff57_496bd9481c92 --> ac587885_e294_a1e9_b13f_5e7b920fdb42 4d95a735_3b74_1de1_6774_e7716ff6c80a["compiler-runtime"] a8e089a7_09e5_ee78_ff57_496bd9481c92 --> 4d95a735_3b74_1de1_6774_e7716ff6c80a 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"] a8e089a7_09e5_ee78_ff57_496bd9481c92 --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05 style a8e089a7_09e5_ee78_ff57_496bd9481c92 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import * as React from 'react';
import {someImport} from 'react/compiler-runtime';
import {calculateExpensiveNumber} from 'shared-runtime';
function Component(props) {
const [x] = React.useState(0);
const expensiveNumber = React.useMemo(() => calculateExpensiveNumber(x), [x]);
return (
<div>
{expensiveNumber}
{`${someImport}`}
</div>
);
}
export const FIXTURE_ENTRYPOINT = {
fn: Component,
params: [],
};
Domain
Subdomains
Functions
Dependencies
- compiler-runtime
- react
- shared-runtime
Source
Frequently Asked Questions
What does babel-existing-react-runtime-import.js do?
babel-existing-react-runtime-import.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 babel-existing-react-runtime-import.js?
babel-existing-react-runtime-import.js defines 1 function(s): Component.
What does babel-existing-react-runtime-import.js depend on?
babel-existing-react-runtime-import.js imports 3 module(s): compiler-runtime, react, shared-runtime.
Where is babel-existing-react-runtime-import.js in the architecture?
babel-existing-react-runtime-import.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/babel-existing-react-runtime-import.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