Replies: 1 comment
-
|
yeah this should go to the API reference: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was looking into how to centralize displaying toasts on mutation resolution, globally, and I came across this article:
https://spin.atomicobject.com/toast-notifications-tanstack-query/
The suggested solution uses the
mutationCacheproperty of theQueryClientConfigobject, so I decided to look it up, since I was not aware of it up to this point.Now, as far as I searched for it, and I tried!, I could not find any documentation for
mutationCache, or fordefaultOptionsor forQueryClientConfigin general in the docs.So my questions are:
QueryClientConfigin the docs?Beta Was this translation helpful? Give feedback.
All reactions