AbstractLink1 Class — react Architecture
Architecture documentation for the AbstractLink1 class in benchmark.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD ec125c65_9e4e_38e8_ffde_4d4636e6f4de["AbstractLink1"] 3ebee981_8211_0c1c_516b_03ba4cbff0e7["benchmark.js"] ec125c65_9e4e_38e8_ffde_4d4636e6f4de -->|defined in| 3ebee981_8211_0c1c_516b_03ba4cbff0e7 84a30ac6_b5c8_fa43_c363_517cd400fc19["render()"] ec125c65_9e4e_38e8_ffde_4d4636e6f4de -->|method| 84a30ac6_b5c8_fa43_c363_517cd400fc19
Relationship Graph
Source Code
scripts/bench/benchmarks/pe-class-components/benchmark.js lines 237–407
class AbstractLink1 extends React.Component {
render() {
if (this.props.x === 1) {
return React.createElement(
'a',
{
className: '_387r _55pi _2agf _4jy0 _4jy4 _517h _51sy _42ft',
style: {width: 250, maxWidth: '250px'},
disabled: null,
label: null,
href: '#',
rel: undefined,
onClick: function () {},
},
null,
React.createElement(
'span',
{className: '_55pe', style: {maxWidth: '236px'}},
null,
React.createElement(
'span',
null,
React.createElement('span', {className: '_48u-'}, 'Account:'),
' ',
'Dick Madanson (10149999073643408)'
)
),
React.createElement(ReactImage0, {x: 0})
);
}
if (this.props.x === 43) {
return React.createElement(
'a',
{
className: '_585q _50zy _50-0 _50z- _5upp _42ft',
size: 'medium',
type: null,
title: 'Remove',
'data-hover': undefined,
'data-tooltip-alignh': undefined,
'data-tooltip-content': undefined,
disabled: null,
label: null,
href: '#',
rel: undefined,
onClick: function () {},
},
undefined,
'Remove',
undefined
);
}
if (this.props.x === 49) {
return React.createElement(
'a',
{
target: '_blank',
href: '/ads/manage/billing.php?act=10149999073643408',
rel: undefined,
onClick: function () {},
},
React.createElement(XUIText29, {x: 48})
);
}
if (this.props.x === 128) {
return React.createElement(
'a',
{
className: ' _5bbf _55pi _2agf _4jy0 _4jy4 _517h _51sy _42ft',
style: {maxWidth: '200px'},
disabled: null,
label: null,
href: '#',
rel: undefined,
onClick: function () {},
},
null,
React.createElement(
'span',
{className: '_55pe', style: {maxWidth: '186px'}},
React.createElement(ReactImage0, {x: 126}),
Source
Frequently Asked Questions
What is the AbstractLink1 class?
AbstractLink1 is a class in the react codebase, defined in scripts/bench/benchmarks/pe-class-components/benchmark.js.
Where is AbstractLink1 defined?
AbstractLink1 is defined in scripts/bench/benchmarks/pe-class-components/benchmark.js at line 237.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free