You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to suggest considering changing the default autoReset* options, ie autoResetSortBy, to false. I think it very much goes against the nature of react, explicitly changing a property when another property is updated; a side effect. I think going with autoResetSortBy:false, would be an element of least surprise. It appears some issues have come up on this behavior. I myself spent a good deal of time debugging why exactly my tables sort state was changing when I was merely updating data in it, data not inherently relevant with the given sort criteria.
Thanks for the library and the work y'all have been doing.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I would like to suggest considering changing the default autoReset* options, ie autoResetSortBy, to false. I think it very much goes against the nature of react, explicitly changing a property when another property is updated; a side effect. I think going with autoResetSortBy:false, would be an element of least surprise. It appears some issues have come up on this behavior. I myself spent a good deal of time debugging why exactly my tables sort state was changing when I was merely updating data in it, data not inherently relevant with the given sort criteria.
Thanks for the library and the work y'all have been doing.
Cheers!
Robby
Beta Was this translation helpful? Give feedback.
All reactions