react-table/src
Tanner Linsley 9de699bfd3 Add/rename a few hooks, fix useColumnVisibility header deps
- The `columnsBeforeHeaderGroups` and `columnsBeforeHeaderGroupsDeps` hooks have been renamed to `flatColumns` and `flatColumnsDeps` respectively, which better reflects what they are used for, rather than their order, which can remain implicit.
- Added `headerGroups` and `headerGroupDeps` hooks, which, similar to `flatColumns`, allow you to decorate (and trigger) the memoized header group generation.
- Added `columns` and `columnsDeps` hooks, which, similar to `flatColumns` and `headerGroups`, allow you to decorate (and trigger) the memoized column generation/decoration.
- The new hook order is as follows: `columns/columnsDeps` => `flatColumns/flatColumnsDeps` => `headerGroups/headerGroupsDeps`
- `useColumnVisibility` now uses the new `headerGroupsDeps` hook to trigger header group regeneration when visibility changes
2019-12-09 09:52:27 -07:00
..
hooks Add/rename a few hooks, fix useColumnVisibility header deps 2019-12-09 09:52:27 -07:00
plugin-hooks Add/rename a few hooks, fix useColumnVisibility header deps 2019-12-09 09:52:27 -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
publicUtils.js Update Changelog 2019-12-08 19:35:55 -07:00
sortTypes.js v7.0.0-beta.20 2019-12-02 01:28:28 -07:00
utils.js v7.0.0-rc.2 2019-12-06 16:30:08 -07:00