Would be nice to be able to set up delay for isLoading isFetching props #7524
Unanswered
pavel-blagodov
asked this question in
Ideas
Replies: 1 comment
-
since this is a UI concern and straightforward to implement in user-land, we'll likely not add this. |
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
-
It's very common practice to show up spinner only after certain amount of time e.g. 1 second. It useful when we want to show spinner on slow connection and don't not show spinner on fast connection. We often rely on isLoading isFetching to show spinner so it would be nice if useQuery can be configured to keep current value for N seconds while fetching in progress and change isLoading isFetching props to true only after N seconds
Beta Was this translation helpful? Give feedback.
All reactions