XUIButton4 Class — react Architecture
Architecture documentation for the XUIButton4 class in benchmark.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 61acf234_3f3e_663a_aace_9da3193a0c50["XUIButton4"] 3ebee981_8211_0c1c_516b_03ba4cbff0e7["benchmark.js"] 61acf234_3f3e_663a_aace_9da3193a0c50 -->|defined in| 3ebee981_8211_0c1c_516b_03ba4cbff0e7 a40e6065_93a6_d685_773b_d3584539ea50["render()"] 61acf234_3f3e_663a_aace_9da3193a0c50 -->|method| a40e6065_93a6_d685_773b_d3584539ea50
Relationship Graph
Source Code
scripts/bench/benchmarks/pe-class-components/benchmark.js lines 816–885
class XUIButton4 extends React.Component {
render() {
if (this.props.x === 4) {
return React.createElement(AbstractButton3, {x: 3});
}
if (this.props.x === 21) {
return React.createElement(AbstractButton3, {x: 20});
}
if (this.props.x === 24) {
return React.createElement(AbstractButton3, {x: 23});
}
if (this.props.x === 69) {
return React.createElement(AbstractButton3, {x: 68});
}
if (this.props.x === 72) {
return React.createElement(AbstractButton3, {x: 71});
}
if (this.props.x === 78) {
return React.createElement(AbstractButton3, {x: 77});
}
if (this.props.x === 81) {
return React.createElement(AbstractButton3, {x: 80});
}
if (this.props.x === 90) {
return React.createElement(AbstractButton3, {x: 89});
}
if (this.props.x === 93) {
return React.createElement(AbstractButton3, {x: 92});
}
if (this.props.x === 96) {
return React.createElement(AbstractButton3, {x: 95});
}
if (this.props.x === 100) {
return React.createElement(AbstractButton3, {x: 99});
}
if (this.props.x === 110) {
return React.createElement(AbstractButton3, {x: 109});
}
if (this.props.x === 113) {
return React.createElement(AbstractButton3, {x: 112});
}
if (this.props.x === 131) {
return React.createElement(AbstractButton3, {x: 130});
}
if (this.props.x === 139) {
return React.createElement(AbstractButton3, {x: 138});
}
if (this.props.x === 157) {
return React.createElement(AbstractButton3, {x: 156});
}
if (this.props.x === 162) {
return React.createElement(AbstractButton3, {x: 161});
}
if (this.props.x === 188) {
return React.createElement(AbstractButton3, {x: 187});
}
if (this.props.x === 270) {
return React.createElement(AbstractButton3, {x: 269});
}
if (this.props.x === 304) {
return React.createElement(AbstractButton3, {x: 303});
}
if (this.props.x === 306) {
return React.createElement(AbstractButton3, {x: 305});
}
if (this.props.x === 308) {
return React.createElement(AbstractButton3, {x: 307});
}
}
}
Source
Frequently Asked Questions
What is the XUIButton4 class?
XUIButton4 is a class in the react codebase, defined in scripts/bench/benchmarks/pe-class-components/benchmark.js.
Where is XUIButton4 defined?
XUIButton4 is defined in scripts/bench/benchmarks/pe-class-components/benchmark.js at line 816.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free