react-table/src
Tanner Linsley ddfa0fa227 Death of the path, fix some hooks, fix selectedRows
- Fixed an issue where dependency hooks were not being reduced properly, thus the table would rerender unnecessarily
- Renamed `toggleRowSelectedAll` to `toggleAllRowsSelected`. Duh...
- Added an `indeterminate` boolean prop to the default props for row selection toggle prop getters
- Renamed `selectedRowPaths` to `selectedRowIds`, 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 the `getRowId` option
- Rows now also have an `isSomeSelected` prop when using the `useRowSelect` hook, which denotes that at least one subRow is selected (if applicable)
- Rows' `path` property has been deprecated in favor of `id`
- 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 to `toggleExpandedById`, and thus accepts a row ID now, instead of a row path
2019-12-10 23:04:34 -07:00
..
hooks Death of the path, fix some hooks, fix selectedRows 2019-12-10 23:04:34 -07:00
plugin-hooks Death of the path, fix some hooks, fix selectedRows 2019-12-10 23:04:34 -07:00
utility-hooks fix(multiple): sub-components example, minor refactors 2019-08-02 07:42:42 -06:00
aggregations.js Refactoring aggregations.js (#1646) 2019-11-18 14:18:48 -07:00
filterTypes.js fix: fix includeAll filter type, add filteredRows 2019-10-07 10:27:18 -06:00
index.js v7.0.0-rc.2 2019-12-06 16:30:08 -07:00
makeDefaultPluginHooks.js Death of the path, fix some hooks, fix selectedRows 2019-12-10 23:04:34 -07:00
publicUtils.js Added/updated hooks reorganization of hooks, new hook rules 2019-12-10 11:35:05 -07:00
sortTypes.js v7.0.0-beta.20 2019-12-02 01:28:28 -07:00
utils.js Death of the path, fix some hooks, fix selectedRows 2019-12-10 23:04:34 -07:00