Skip to content
Discussion options

You must be logged in to vote

Yes, the defaults also allow for partial matching, so:

queryClient.setMutationDefaults(commentKeys.all, options)

will set defaults for all keys starting with ['comments']

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@KamyarP
Comment options

@TkDodo
Comment options

@thiagobrez
Comment options

@TkDodo
Comment options

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