🔥 Breaking Changes 🔥
sortFunction
prop signature has changed, This was necessary because RDT is moving to function only selectors which are more flexible and performant. Additionally, this allows the API user greater control over how they sort. See the README for details Custom Sort Function.
Fixes
- Cleanup of stale sorting logic and CSS styles
- #612 and #699 The TableHeadRow is no longer disabled when in a loading state. Instead, each TableCol is disabled from sorting
- #772 fixes a potential performance issue with large data sets and
conditionalCells
and `conditionalRows1 - #775
sortServer
should now disable internal sorting as it did in v6
Deprecation
- #770 string selectors will display a console warning on non prod builds recommended you migrate to function selectors. This change is rather painless:
selector: 'name'
becomesselector: row => row.name
. This not only allows for typing but also no longer requires an expensive regex/reduce function to loop through a row to "get' the prop