Tracking loading time of useQuery #4389
Unanswered
cubecleveland
asked this question in
Q&A
Replies: 1 comment
-
Not that I'm aware of, no. You would have to to that with your data fetching function that you call from the queryFn. |
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.
-
Hello,
I have a use case of running unstable queries that can last more than 10 seconds.
I wan the query to cahnge the state or dipacth another state lets say after 5 seconds of loading so the ui can show to user that "Im still fetching..." and also possiblyy cancel the query after 10 seconds.....
IS there a boilerplate we might be able to use to achive that ?
Beta Was this translation helpful? Give feedback.
All reactions