repro-undefined-expression-of-jsxexpressioncontainer.js — react Source File
Architecture documentation for repro-undefined-expression-of-jsxexpressioncontainer.js, a javascript file in the react codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 515934a0_bf02_b550_1e8c_b5f164b9280e["repro-undefined-expression-of-jsxexpressioncontainer.js"] 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"] 515934a0_bf02_b550_1e8c_b5f164b9280e --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05 style 515934a0_bf02_b550_1e8c_b5f164b9280e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {StaticText1, Stringify, Text} from 'shared-runtime';
function Component(props) {
const {buttons} = props;
const [primaryButton, ...nonPrimaryButtons] = buttons;
const renderedNonPrimaryButtons = nonPrimaryButtons.map((buttonProps, i) => (
<Stringify
{...buttonProps}
key={`button-${i}`}
style={
i % 2 === 0 ? styles.leftSecondaryButton : styles.rightSecondaryButton
}
/>
));
return <StaticText1>{renderedNonPrimaryButtons}</StaticText1>;
}
const styles = {
leftSecondaryButton: {left: true},
rightSecondaryButton: {right: true},
};
export const FIXTURE_ENTRYPOINT = {
fn: Component,
params: [
{
buttons: [
{},
{type: 'submit', children: ['Submit!']},
{type: 'button', children: ['Reset']},
],
},
],
};
Domain
Subdomains
Functions
Dependencies
- shared-runtime
Source
Frequently Asked Questions
What does repro-undefined-expression-of-jsxexpressioncontainer.js do?
repro-undefined-expression-of-jsxexpressioncontainer.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 repro-undefined-expression-of-jsxexpressioncontainer.js?
repro-undefined-expression-of-jsxexpressioncontainer.js defines 1 function(s): Component.
What does repro-undefined-expression-of-jsxexpressioncontainer.js depend on?
repro-undefined-expression-of-jsxexpressioncontainer.js imports 1 module(s): shared-runtime.
Where is repro-undefined-expression-of-jsxexpressioncontainer.js in the architecture?
repro-undefined-expression-of-jsxexpressioncontainer.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/repro-undefined-expression-of-jsxexpressioncontainer.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