Closed dahlbyk closed 6 years ago
1.x
onSort is now fired just before the new sortProperties are dispatched.
onSort
sortProperties
This essentially renders TableHeadingCell obsolete, but deleting it is a potentially breaking change.
TableHeadingCell
What if events were fired from a Redux middleware instead of click handlers?
Close #716; #717 was insufficient.
Existing story now demonstrates expected behavior.
It seems like a new React version changed behavior when render() returns a string, so the TS story has been adjusted.
render()
On re-review I noticed a few gaps between core and local versions of TableHeadingCellContainer, so I've added a commit to close the gap (mostly from #699).
TableHeadingCellContainer
Griddle major version
1.x
Changes proposed in this pull request
onSort
is now fired just before the newsortProperties
are dispatched.This essentially renders
TableHeadingCell
obsolete, but deleting it is a potentially breaking change.Idea
What if events were fired from a Redux middleware instead of click handlers?
Why these changes are made
Close #716; #717 was insufficient.
Are there tests?
Existing story now demonstrates expected behavior.
It seems like a new React version changed behavior when
render()
returns a string, so the TS story has been adjusted.