Storing `rowSelectionState` for multiple tables in parent component
Hi i am trying to have a component which stores the
rowSelectionState
of multiple tables, so something like:
However, this method results in my components rendering infinitely, i suspect due to the updateRowSelectionState
function. Is there a way for me to handle this functionality or something that I am doing wrong?
PS - I have to handle the state here instead of within each individual table because i am using react-aria
useTabList
component which unmounts and mounts when different tabs are selected0 Replies