Version 6 Roadmap - bvaughn/react-virtualized GitHub Wiki
This describes my plans for the version 6 roadmap (currently in progress as PR #159). I welcome input from the community so please feel free to comment if you think certain features should (or should not) be included in the next upcoming major release.
- Refactored
Grid
to remove arrow-key scroll-snapping. Instead this feature is implemented in a HOC,ArrowKeyStepper
. The upgrade path from React 5.x to 6.x if you want to maintain arrow-key navigation behavior is as follows:
// Before...
<Grid {...gridProps}/>
// After...
<ArrowKeyStepper
columnsCount={columnsCount}
rowsCount={rowsCount}
>
{({ onKeyDown, onSectionRendered, scrollToColumn, scrollToRow }) => (
<div onKeyDown={onKeyDown}>
<Grid
columnsCount={columnsCount}
onSectionRendered={onSectionRendered}
rowsCount={rowsCount}
scrollToColumn={scrollToColumn}
scrollToRow={scrollToRow}
{...otherGridProps}
/>
</div>
)}
</ArrowKeyStepper>
- The following public methods will be removed; use the corresponding properties instead:
-
FlexTable
:scrollToRow
(usescrollToIndex
prop instead),setScrollTop
(usescrollTop
prop instead) -
Grid
:scrollToCell
(usescrollToColumn
andscrollToRow
props instead),setScrollPosition
(usescrollLeft
andscrollTop
props instead) -
VirtualScroll
:scrollToRow
(usescrollToIndex
prop instead),setScrollTop
(usescrollTop
prop instead)
- Replaced
react-pure-render
withshallowCompare
.