MCPcopy Create free account
hub / github.com/bvaughn/react-virtualized

github.com/bvaughn/react-virtualized

Chat with this repo
repository ↗ · DeepWiki ↗ · release 10.0.2 ↗ · + Follow · compare 3 versions
784 symbols 2,017 edges 274 files 88 documented · 11% ● updated 12d ago10.0.1 · 2026-11-08★ 27,072

Browse by type

⨍ Functions 752◇ Types & classes 32
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

react-virtualized logo

react-virtualized is a set of React components for efficiently rendering large lists and tabular data.

[!TIP] If you're considering adding react-virtualized to a project, take a look at react-window as a possible lighter-weight alternative.

Support

If you like this project there are several ways to support it:

The following wonderful companies and individuals have sponsored react-virtualized:

Installation

Begin by installing the library from NPM:

npm install react-virtualized

Most of react-virtualized's styles are functional (e.g. position, size) and are applied directly to DOM elements. The Table component also ships with a few optional presentational styles; to use them, import the CSS file once (e.g. while bootstrapping your application):

import "react-virtualized/styles.css";

The package is marked as side-effect free (other than its CSS), so bundlers will tree-shake any components you don't use.

TypeScript types

TypeScript definitions are included within the published dist folder. Types are exported for each component's props (e.g. ListProps, GridProps, TableProps) along with the parameters passed to renderers (e.g. RowRendererParams, CellRendererParams, TableCellProps).

Pure components

By default all react-virtualized components are wrapped in memo to avoid re-rendering unless props or state has changed. This occasionally confuses users when a collection's data changes (eg ['a','b','c'] => ['d','e','f']) but props do not (eg array.length).

The solution to this is to let react-virtualized know that something external has changed. This can be done a couple of different ways.

Pass-thru props

This shallow comparison will detect changes to any props, even ones a component doesn't use. This means you can also pass through additional properties that affect cell rendering to ensure changes are detected. For example, if you're using List to render a list of items that may be re-sorted after initial render- react-virtualized would not normally detect the sort operation because none of the properties it deals with change. However you can pass through the additional sort property to trigger a re-render. For example:

<List {...listProps} sortBy={sortBy} />

Public methods

Grid components can be forcefully re-rendered by calling forceUpdate on their ref. For Table and List, you'll need to call forceUpdateGrid to ensure that the inner Grid is also updated. For MultiGrid, you'll need to call forceUpdateGrids to ensure that the inner Grids are updated.

Documentation

Documentation and live examples for every component are availab

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 616
Method 136
Class 20
Interface 12

Languages

TypeScript100%

Modules by API surface

lib/components/Grid/Grid.tsx35 symbols
lib/components/Grid/Grid.test.tsx33 symbols
lib/components/Table/Table.test.tsx24 symbols
lib/components/Table/Table.tsx19 symbols
lib/components/MultiGrid/MultiGrid.tsx18 symbols
lib/components/Grid/utils/ScalingCellSizeAndPositionManager.ts18 symbols
lib/components/Grid/utils/CellSizeAndPositionManager.ts18 symbols
lib/components/CellMeasurer/types.ts18 symbols
lib/components/InfiniteLoader/InfiniteLoader.test.tsx17 symbols
lib/utils/test/scrollElement.ts16 symbols
lib/components/MultiGrid/MultiGrid.test.tsx16 symbols
lib/components/Masonry/Masonry.tsx16 symbols

Dependencies from manifests, versioned

@csstools/postcss-oklab-function4.0.11 · 1×
@eslint/js9.30.1 · 1×
@playwright/test1 · 1×
@tailwindcss/vite4.1.11 · 1×
@testing-library/react16.3.0 · 1×
@types/bytes3.1.5 · 1×
@types/markdown-it14.1.2 · 1×
@types/node24.2.0 · 1×
@types/react19.2.3 · 1×
@types/react-dom19.2.3 · 1×
@vitejs/plugin-react-swc3.10.2 · 1×

For agents

$ claude mcp add react-virtualized \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page