Skip to content
Discussion options

You must be logged in to vote

I think that not returning from the mutations and using invalidateQueries will make my mutations more simple and flexible, because they can be used in different contexts in invalidate different queries in each situation.

invalidation is less code on the frontend, but one more network request. That's the tradeoff.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cbdeveloper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants