jsx-freeze.js — react Source File
Architecture documentation for jsx-freeze.js, a javascript file in the react codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR a81f7d5d_f88f_2d23_7a67_943728025e94["jsx-freeze.js"] ab4865ee_cc3d_d369_e40c_e74717ceb4a6["jsx-runtime"] a81f7d5d_f88f_2d23_7a67_943728025e94 --> ab4865ee_cc3d_d369_e40c_e74717ceb4a6 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"] a81f7d5d_f88f_2d23_7a67_943728025e94 --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05 style a81f7d5d_f88f_2d23_7a67_943728025e94 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {jsx as _jsx} from 'react/jsx-runtime';
import {shallowCopy} from 'shared-runtime';
function Component(props) {
const childprops = {style: {width: props.width}};
const element = _jsx('div', {
childprops: childprops,
children: '"hello world"',
});
shallowCopy(childprops); // function that in theory could mutate, we assume not bc createElement freezes
return element;
}
export const FIXTURE_ENTRYPOINT = {
fn: Component,
params: [{}],
};
Domain
Subdomains
Functions
Dependencies
- jsx-runtime
- shared-runtime
Source
Frequently Asked Questions
What does jsx-freeze.js do?
jsx-freeze.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 jsx-freeze.js?
jsx-freeze.js defines 1 function(s): Component.
What does jsx-freeze.js depend on?
jsx-freeze.js imports 2 module(s): jsx-runtime, shared-runtime.
Where is jsx-freeze.js in the architecture?
jsx-freeze.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/jsx-freeze.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