Add retryOnWindowFocus #9037
Unanswered
JoffrayBillon
asked this question in
Ideas
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.
-
I don't know if it's a bug, an inconsistency or just a feature request but the params retryOnWindowFocus doesn't exist as the refetchOnWindowFocus is.
So the api behaves like retry again at each new windowFocus even with a retry at 0.
I know there is many case where the api send 404 and it's good for the app to retry when the data exist but there is also case where it's just a bad request and better not spam the api anymore.
So why not let to the developers the opportunity decide how the api should behaves ?
Beta Was this translation helpful? Give feedback.
All reactions