Replies: 1 comment
-
have a look at this discussion: #2788 (comment) |
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.
-
I want to make a progress bar when data is loaded via
useQueries (queryKey, queryFn, {keepPreviousData: true}
The duration of the request is unknown. However, in the case of refetch, the request has already been made, which means that we can roughly estimate the duration of the current request with the same parameters for updating the data.
To do this, you need to know the duration. Or the start and end date of the request.
Can you please tell me where in react-query you can get this data? Or how to forward the cache to memory.
cachedQuery.state:

Beta Was this translation helpful? Give feedback.
All reactions