react-table v7.0.0-rc.6 Release Notes
Release Date: 2019-12-09 // over 4 years ago-
- ๐ The
columnsBeforeHeaderGroups
andcolumnsBeforeHeaderGroupsDeps
hooks have been renamed toflatColumns
andflatColumnsDeps
respectively, which better reflects what they are used for, rather than their order, which can remain implicit. - โ Added
headerGroups
andheaderGroupDeps
hooks, which, similar toflatColumns
, allow you to decorate (and trigger) the memoized header group generation. - โ Added
columns
andcolumnsDeps
hooks, which, similar toflatColumns
andheaderGroups
, 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 newheaderGroupsDeps
hook to trigger header group regeneration when visibility changes
- ๐ The