Skip to content
Discussion options

You must be logged in to vote

useQuery should Never really be used for mutations to the server. Sign out is definitely a mutation. By using useQuery, you’re potentially and probably running the sign out function many times more than expected.

Replies: 1 comment 1 reply

Comment options

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

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