react-table/examples/row-selection
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
..
public fix(use-pagination): better controlled/manual use-pagination 2019-08-06 22:32:17 -06:00
src Death of the path, fix some hooks, fix selectedRows 2019-12-10 23:04:34 -07:00
.babelrc fix(use-pagination): better controlled/manual use-pagination 2019-08-06 22:32:17 -06:00
.env fix(use-pagination): better controlled/manual use-pagination 2019-08-06 22:32:17 -06:00
.eslintrc fix(use-pagination): better controlled/manual use-pagination 2019-08-06 22:32:17 -06:00
.gitignore fix(use-pagination): better controlled/manual use-pagination 2019-08-06 22:32:17 -06:00
.rescriptsrc.js fix(use-pagination): better controlled/manual use-pagination 2019-08-06 22:32:17 -06:00
package.json Upgrade examples to use "latest" 2019-12-03 12:55:01 -07:00
README.md updating code sandbox links (#1437) 2019-08-08 14:11:32 -06:00
yarn.lock Bump eslint-utils from 1.4.0 to 1.4.3 in /examples/row-selection (#1754) 2019-12-10 11:51:39 -07:00

This project was bootstrapped with Create React App and Rescripts.

You can: