-
I want to display a count down timer to indicate user when the data will refetch. It would be nice if I can get the value from |
Beta Was this translation helpful? Give feedback.
Answered by
TkDodo
Dec 2, 2024
Replies: 1 comment
-
we don’t expose that because we only schedule a If you want that, you have to do it yourself in user-land. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lili21
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
we don’t expose that because we only schedule a
setTimeout
to trigger the next fetch in N seconds. We also can’t even determine at which granularity that should be exposed. Update once every second? Once every couple of seconds? Ten times a second?If you want that, you have to do it yourself in user-land.