Syntax for checking multiple queries via isFetching() #5965
Replies: 3 comments 1 reply
-
no. please have a look at the docs and the typescript types to see what you can pass to |
Beta Was this translation helpful? Give feedback.
-
Don't understand. Can you please give an example, how to address multiple queries at once, with different keys? Do you mean |
Beta Was this translation helpful? Give feedback.
-
Hi, yes thanks, I did read that and also understood. I didn't question the manual in general, but the specific part about Query Filters. The question simply was, can I address multiple, completely different query keys. You answered "yes" in a maybe cumbersome way. So I conclude, this would work with the predicate function. Can't find an example though. Query, what type is it, and why I can't click it. BTW. we do not use Typescript sadly, but I consider installing that eslint plugin. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am not sure anymore, if the following example is the correct syntax for checking multiple queries for the fetching state:
Would this work?
It seems to set isFetching to true even while other queries with other keys are fetched... Am I doing something wrong, or is this a bug?
Beta Was this translation helpful? Give feedback.
All reactions