Connect parts of table state to redux state
Hi, I want to connect e.g. the columnVisibiliyState to my redux state. The "problem" is the onChange functions, that are typed as OnChangeFn<VisibilityState>. I understand that this is basically the same as the useState's setState function. But i cannot figure out how to replicate this function when using a redux store.
Currently I have it like this, but I do not really like the solution much:
Please tell me how to correctly connect the table state to redux state.
Thank you!
Currently I have it like this, but I do not really like the solution much:
Please tell me how to correctly connect the table state to redux state.
Thank you!