Optimistic state being overwritten by refetch
I'm using a query collection, when I'm doing frequent of mutations sometimes the optimistic state is being overwritten by the response of the refetch which doesn't include the most recent optimistic changes.
What's the recommended solution for this? Is there an equivalent of
What's the recommended solution for this? Is there an equivalent of
cancelQueries in tanstackdb?