react-window v1.4.0 Release Notes
-
- ๐ ๐ List and Grid components now "overscan" (pre-render) in both directions when scrolling is not active. When scrolling is in progress, cells are only pre-rendered in the direction being scrolled. This change has been made in an effort to reduce visible flicker when scrolling starts without adding additional overhead during scroll (which is the most performance sensitive time).
- ๐ ๐ Grid components now support separate
overscanColumnsCount
andoverscanRowsCount
props. LegacyoverscanCount
prop will continue to work, but with a deprecation warning in DEV mode. - ๐ Replaced
setTimeout
withrequestAnimationFrame
based timer, to avoid starvation issue forisScrolling
reset. - #106 - โ
๐ Renamed List and Grid
innerTagName
andouterTagName
props toinnerElementType
andouterElementType
to formalize support for attaching arbitrary props (e.g. test ids) to List and Grid inner and outer DOM elements. LegacyinnerTagName
andouterTagName
props will continue to work, but with a deprecation warning in DEV mode. - ๐ List re-renders items if
direction
prop changes. - #104