-
That status would be error or success, possibly also a isDone field similar to isSuccess / isError |
Beta Was this translation helpful? Give feedback.
Answered by
TkDodo
Oct 16, 2021
Replies: 1 comment 1 reply
-
I think It’s a simple condition that you can do in user-land:
but I’m not sure when you’d actually want that? In most cases, this is just the opposite of isLoading |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
caub
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think It’s a simple condition that you can do in user-land:
const isDone = isSuccess || isError
but I’m not sure when you’d actually want that? In most cases, this is just the opposite of isLoading