Kevin Van Cott
Kevin Van Cott
What's the use-case for this? Usually changing the sorting state without user-input is bad UX, right?
ok, open to merging this, but need to test more. Definitely agree that this should not be enabled by default like some of the other autoReset options though.
I think this exposes a bug in that code more than us needing to narrow the types more.
sorry, didn't know anyone was using these internal types. It was renamed to `ColumnFiltersTableState`
What environments do that?
Are you sure that you're not accidentally importing from `src` instead of the proper build output? Also, maybe try importing from the `umd` output, which does not have any process.env...
> I'm also curious what the harm would be in detecting the process variable in the library before calling it? I have just never seen any other NPM library ever...
onColumnVisibilityChange behaves strange when clicked the show menu column showAll or hideAll button
Yeah, looks like there is nothing we can patch here in MRT, just have to recommend the ^above fix.
onColumnVisibilityChange behaves strange when clicked the show menu column showAll or hideAll button
If that API respects the enable hiding column def option the same way, then sure.
Either turn the lint rule off, or define the component elsewhere statically