Synchronizing Client-state with Server-state
Hello I have a problem with synchronizing a list of data with my own client state.
The scenario is: I have a list of data coming from a useQuery hook and I have a client-state which is a hashmap/object of the selected IDs coming from the server(useQuery hook).
The main problem for this is that the list of data is paginated so if i change pages the data refreshes.
1 Reply
extended-salmonOP•4y ago
The app im working with is a paginated table with checkbox in the rows and in addition has a checkbox header that selects everydata