TanStackT
TanStack4y ago
1 reply
living-lavender

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.
Was this page helpful?