Replies: 1 comment 1 reply
-
you can use the |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I have an app with global loader, showing spinner while fetching with help of useIsFetching hook with a predicate function. I have a form with email field with async validation for checking unique email. And there is a local loader. My issue I don't want the global loader here, but because I am checking for some query is fetching in global loader component it will trigger and global loader will show in addition to field loader. I was trying to loop the query cache and conditionally checking by queryKey of all current query by useQueryClient hook but I am not able to loop this properly. Is there any mistake in my way of doing? Is there any better solution for this?
Beta Was this translation helpful? Give feedback.
All reactions