T
TanStack•10mo ago
unwilling-turquoise

Is there a built-in way to refetch/invalidate queries based on a mutation being successful?

Hi 👋 One condition: while being inside the query's hook context. I.e. I don't want to use invalidateQueries for all the potential queries that might "subscribe" to the data the mutation has just edited, but the other way around.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?