<div id="react-root">
</div>
html {
  background-color: gray;
}

.container {
  background-color: white;
  width: 600px;
  margin: 20px auto;
}
const renderCounts = new Array(10000).fill(0);

function rowRenderer ({ index, isScrolling, key, style }) {
  renderCounts[index]++;
  return (
    <div key={key} style={style}>
      Item {index}  (rendered {renderCounts[index]} times)
    </div>
  );
};

ReactDOM.render(
  <div className="container">
    <ReactVirtualized.List
      width={600}
      height={600}
      rowCount={10000}
      rowHeight={20}
      rowRenderer={rowRenderer}
    />
  </div>,
    
  document.getElementById('react-root')
);
console.dir(ReactVirtualized);

View Compiled
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/react/16.2.0/umd/react.development.js
  2. https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.2.0/umd/react-dom.development.js
  3. https://cdnjs.cloudflare.com/ajax/libs/react-virtualized/9.18.5/react-virtualized.min.js