Optimistic Update with React Query
Hi! I'm using React Query and React Table in the Next.js app and was wondering if there are examples of optimistic update to the table when sending mutation queries?
e.g. each row has a toggle favorite button and I'd like to update the table data on mutation succcess.
e.g. each row has a toggle favorite button and I'd like to update the table data on mutation succcess.