Skip to content

Is invalidating all queries possible? #1588

Answered by obsd
hmbrg asked this question in Q&A
Jan 6, 2021 · 5 comments · 10 replies
Discussion options

You must be logged in to vote

For all the lazy devs out there :)

queryClient.invalidateQueries()

does the magic

Replies: 5 comments 10 replies

Comment options

You must be logged in to vote
2 replies
@hmbrg
Comment options

@ansh
Comment options

Comment options

You must be logged in to vote
5 replies
@carlosriveroib
Comment options

@TkDodo
Comment options

@carlosriveroib
Comment options

@carlosriveroib
Comment options

@ArturasTv
Comment options

Comment options

You must be logged in to vote
1 reply
@Coding-Algorithm
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by TkDodo
Comment options

You must be logged in to vote
2 replies
@obsd
Comment options

@osmanbaskaya
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet