react-table v7.0.0-rc.9 Release Notes
Release Date: 2019-12-11 // over 4 years ago-
- ๐ Fixed an issue where dependency hooks were not being reduced properly, thus the table would rerender unnecessarily
- ๐ Renamed
toggleRowSelectedAll
totoggleAllRowsSelected
. Duh... - โ Added an
indeterminate
boolean prop to the default props for row selection toggle prop getters - ๐ Renamed
selectedRowPaths
toselectedRowIds
, which also no longer contains paths, but row IDs - Grouped or nested row selection actions and state are now derived, instead of tracked in state.
- Rows now have a new property called
id
, which existed before and was derived from thegetRowId
option - Rows now also have an
isSomeSelected
prop when using theuseRowSelect
hook, which denotes that at least one subRow is selected (if applicable) - ๐ Rows'
path
property has been deprecated in favor ofid
- Expanded state is now tracked with row IDs instead of paths
- RowState is now tracked with row IDs instead of paths
toggleExpandedByPath
has been renamed totoggleExpandedById
, and thus accepts a row ID now, instead of a row path