Replies: 1 comment 1 reply
-
this is how the lib is designed to work, and we’re not gonna change that. and if dependencies aren’t ready, triggering that query with |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Describe the bug
On the documentation for
Disabling/Pausing Queries says:
To my use case this is an incovenience since when I revalidate data (after a form submition for example), there is some disabled queries and this "feature" obligates me to enable all queries if I want to revalidate them
Your minimal, reproducible example
none
Steps to reproduce
invalidateQueries
with the queryKey of the previous queryExpected behavior
I would want that
invalidateQueries
andrefetchQueries
accept an optional param revaliteDisabled to allow retro-compatibilty for the old behavior. But with this optional param, revalidating could be much more easyHow often does this bug happen?
Sometimes
Screenshots or Videos
No response
Platform
Tanstack Query adapter
react-query
TanStack Query version
5.62.0
TypeScript version
^5
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions