Home / Class/ Scrollbar151 Class — react Architecture

Scrollbar151 Class — react Architecture

Architecture documentation for the Scrollbar151 class in benchmark.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  292aaf6b_4abf_0db3_3b8e_3d6bec153dc5["Scrollbar151"]
  3ebee981_8211_0c1c_516b_03ba4cbff0e7["benchmark.js"]
  292aaf6b_4abf_0db3_3b8e_3d6bec153dc5 -->|defined in| 3ebee981_8211_0c1c_516b_03ba4cbff0e7
  a8e163ab_7d15_5bee_b701_0f9bb5b33cad["render()"]
  292aaf6b_4abf_0db3_3b8e_3d6bec153dc5 -->|method| a8e163ab_7d15_5bee_b701_0f9bb5b33cad

Relationship Graph

Source Code

scripts/bench/benchmarks/pe-class-components/benchmark.js lines 5133–5162

  class Scrollbar151 extends React.Component {
    render() {
      if (this.props.x === 460) {
        return null;
      }
      if (this.props.x === 461) {
        return React.createElement(
          'div',
          {
            onFocus: function () {},
            onBlur: function () {},
            onKeyDown: function () {},
            onMouseDown: function () {},
            onWheel: function () {},
            className: '_1t0r _1t0t _4jdr _1t0u',
            style: {width: 1209, zIndex: 99},
            tabIndex: 0,
          },
          React.createElement('div', {
            className: '_1t0w _1t0y _1t0_',
            style: {
              width: 561.6340607950117,
              transform: 'translate3d(4px,0px,0)',
              backfaceVisibility: 'hidden',
            },
          })
        );
      }
    }
  }

Frequently Asked Questions

What is the Scrollbar151 class?
Scrollbar151 is a class in the react codebase, defined in scripts/bench/benchmarks/pe-class-components/benchmark.js.
Where is Scrollbar151 defined?
Scrollbar151 is defined in scripts/bench/benchmarks/pe-class-components/benchmark.js at line 5133.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free