unstale

npm / react-window-infinite-loader

react-window-infinite-loader

What changed in react-window-infinite-loader 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-25.

4 breaking1 deprecations1 new APIs and options3 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.8 on npm

react-window-infinite-loader 29 changes

Breaking changes 4

  • Rows are no longer marked as pending after the loadMoreRows Promise settles, so rows from failed requests are requested again; errors should be handled within loadMoreRows.

    2.0.2release notes

  • The child function no longer receives the listRef parameter.

    2.0.0release notes

  • The child function parameter formerly named onItemsRendered is now named onRowsRendered.

    2.0.0release notes

  • The package was rewritten to be compatible with the react-window version two API.

    2.0.0release notes

Deprecations 1

  • The external TypeScript definitions package is deprecated because this package now includes and bundles its own definitions.

    2.0.0release notes

New APIs and options 1

  • A new hook is the recommended way to use the library and provides an onRowsRendered callback for the List.

    2.0.0release notes

Fixes and other changes 3

  • Fixes the TypeScript types so InfiniteLoader can be used as a JSX component; the children render prop now returns ReactNode.

    2.0.2release notes

  • Recreating the isRowLoaded or loadMoreRows callbacks no longer causes rows that are still loading to be requested again.

    2.0.2release notes

  • Fixes calls being skipped for every other unloaded range when a list contains multiple gaps.

    2.0.2release notes