should the isValidating prop check for all requests or a single request. #964
Unanswered
Tevinthuku
asked this question in
Q&A
Replies: 0 comments
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.
-
Hi there,
I was working on something which requires me to show only up-to-date data of a particular endpoint.
I tried using
isValidating
but I then realized it returnstrue
if there's any request currently being re-validated.Wouldn't it be more intuitive for
isValidating
to return true if the single request being made is loading ?If not, what was the reasoning behind how it currently works
Is there a different way in which I can solve my problem ?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions