Partial update query without refetching everything
HI There,
Does anyone know if it's possible to partially update a query without refetching everything?
I'm working on a feature that fetches a large array of data from the backend and I want to be able to post individual updates to the backend and have that reflected in the frontend.
I'd prefer not to have to fetch the whole set of data again after each update as the product is sometime used in areas with low internet connectivity, partial update would be best
Thanks!
2 Replies
sunny-green•3y ago
How about queryClient.setQueryData after mutation?
genetic-orangeOP•3y ago
Thanks, ill check that out!