How to derive "retrying" status #330
-
|
Currently status can be one of the following:
But I think it can be useful to know also if the operation is a |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
|
You can access and use the const { failureCount } = useQuery('posts', fetchPosts) |
Beta Was this translation helpful? Give feedback.
-
|
Great! Sorry I missed this from the doc! |
Beta Was this translation helpful? Give feedback.
-
this sounds more like you want to set the |
Beta Was this translation helpful? Give feedback.
You can access and use the
failureCountto derive this meta-state like this: