Skip to content
Discussion options

You must be logged in to vote

you could use the new useMutationState hook in v5 to listen to all mutations, then find out when they have all finished and then fire an effect that invalidates.

otherwise, the global onSuccess callback of the MutationCache can also do it.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@krachtstefan
Comment options

Answer selected by krachtstefan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants