---
title: "react-virtuoso 4.18.19 Breaking Changes on npm | Since.dev"
description: "What each react-virtuoso release removed, renamed or changed: 12 breaking changes in 4 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/react-virtuoso
last_updated: 2026-12-04
---

# react-virtuoso breaking changes

react-virtuoso 4.18.19 (October 13, 2026) is its newest release with breaking changes. The first: Behavior changed VirtuosoGrid.scrollToIndex. Every breaking API change we have recorded in react-virtuoso on npm: 12 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.18.24`, released November 20, 2026. [Source repository](https://github.com/petyosi/react-virtuoso)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [4.18.14](#v-4-18-14) to [4.18.19](#v-4-18-19): 4 breaking changes in 3 versions.

## react-virtuoso 4.18.19 breaking changes

react-virtuoso 4.18.19, released October 13, 2026: 1 breaking change.

- **Behavior changed** `VirtuosoGrid.scrollToIndex`  

Out-of-range scrollToIndex targets on VirtuosoGrid now clamp to the last available item instead of being handled as before. Code that passes indexes past the end of the list may scroll to a different position. [github.com](https://github.com/petyosi/react-virtuoso/releases/tag/react-virtuoso%404.18.19)

## react-virtuoso 4.18.17 breaking changes

react-virtuoso 4.18.17, released October 13, 2026: 2 breaking changes.

- **Behavior changed** `GroupedTableVirtuoso.endReached`  

The endReached callback now receives the index of the last real item instead of one that counts group headers. If your handler subtracts the group count as a workaround, remove that adjustment. [github.com](https://github.com/petyosi/react-virtuoso/releases/tag/react-virtuoso%404.18.17)
- **Behavior changed** `GroupedVirtuoso.endReached`  

The endReached callback now receives the index of the last real item instead of one that counts group headers. If your handler subtracts the group count as a workaround, remove that adjustment. [github.com](https://github.com/petyosi/react-virtuoso/releases/tag/react-virtuoso%404.18.17)

## react-virtuoso 4.18.15 breaking changes

react-virtuoso 4.18.15, released September 22, 2026: 1 breaking change.

- **Behavior changed** `initialItemCount`  

The initial item count is limited to the data remaining after initialTopMostItemIndex, and renders no items when data is empty. Changing initialItemCount after mount now recomputes the list. [github.com](https://github.com/petyosi/react-virtuoso/releases/tag/react-virtuoso%404.18.15)

## react-virtuoso 4.18.14 breaking changes

react-virtuoso 4.18.14, released September 20, 2026: 8 breaking changes.

- **Signature changed** `Components`  

Was interface Components\<Data = unknown, Context = unknown>; now interface Components\<Data = unknown, Context = unknown, ListEl extends HTMLDivElement | HTMLUListElement = HTMLDivElement>. [npmjs.com](https://www.npmjs.com/package/react-virtuoso/v/4.18.14)
- **Signature changed** `Components.List`  

Was List?: default_2.ComponentType\<ListProps & ContextProp\<Context>>; now List?: default_2.ComponentType\<ListProps\<ListEl> & ContextProp\<Context>>. [npmjs.com](https://www.npmjs.com/package/react-virtuoso/v/4.18.14)
- **Signature changed** `GridComponents`  

Was interface GridComponents\<Context = any>; now interface GridComponents\<Context = any, ListEl extends HTMLDivElement | HTMLUListElement = HTMLDivElement>. [npmjs.com](https://www.npmjs.com/package/react-virtuoso/v/4.18.14)
- **Signature changed** `GridComponents.List`  

Was List?: default_2.ComponentType\<GridListProps & ContextProp\<Context>>; now List?: default_2.ComponentType\<GridListProps\<ListEl> & ContextProp\<Context>>. [npmjs.com](https://www.npmjs.com/package/react-virtuoso/v/4.18.14)
- **Signature changed** `GridListProps`  

Was type GridListProps = Pick\<default_2.ComponentProps<'div'>, 'children' | 'className' | 'style'> & default_2.RefAttributes\<HTMLDivElement> & {'data-testid': string;}; now type GridListProps\<El extends HTMLDivElement | HTMLUListElement =... [npmjs.com](https://www.npmjs.com/package/react-virtuoso/v/4.18.14)
- **Signature changed** `ListProps`  

Was type ListProps = Pick\<default_2.ComponentProps<'div'>, 'children' | 'style'> & default_2.RefAttributes\<HTMLDivElement> & {'data-testid': string;}; now type ListProps\<El extends HTMLDivElement | HTMLUListElement = HTMLDivElement> =... [npmjs.com](https://www.npmjs.com/package/react-virtuoso/v/4.18.14)
- **Signature changed** `VirtuosoGridProps.components`  

Was components?: GridComponents\<Context>; now components?: GridComponents\<Context, any>. [npmjs.com](https://www.npmjs.com/package/react-virtuoso/v/4.18.14)
- **Signature changed** `VirtuosoProps.components`  

Was components?: Components\<Data, Context>; now components?: Components\<Data, Context, any>. [npmjs.com](https://www.npmjs.com/package/react-virtuoso/v/4.18.14)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
