can refetchOnMount work with all queries? #3395
Unanswered
donysukardi
asked this question in
Q&A
Replies: 1 comment 4 replies
-
I don't understand - why does it only work with "the first query"? What is the first query vs the second query? |
Beta Was this translation helpful? Give feedback.
4 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'm wondering if there's any out of the box way to make the following setup work with all queries, not just the first query.
the use case is that as long as user is on current page, the query data is all reused. a workaround i can think about is to add some sort of uuid as query key to differentiate the different mount instances.
Beta Was this translation helpful? Give feedback.
All reactions