You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that fetcher stores now have an "onErrorRetry", which defaults to retrying the fetcher a few times, which is great!
A follow up question is, what's the correct way to then do something else if all retries are exhausted?
Does this first hit onErrorRetry, and only hit onError after all retries are exhausted? It isn't quite clear from the docs or the code.
For context, we need a retryable operation that then can do extra cleanup if all calls fail, and I'm just not sure of the correct way to do this with a fetcher store.
The text was updated successfully, but these errors were encountered:
I see that fetcher stores now have an "onErrorRetry", which defaults to retrying the fetcher a few times, which is great!
A follow up question is, what's the correct way to then do something else if all retries are exhausted?
Does this first hit
onErrorRetry
, and only hitonError
after all retries are exhausted? It isn't quite clear from the docs or the code.For context, we need a retryable operation that then can do extra cleanup if all calls fail, and I'm just not sure of the correct way to do this with a fetcher store.
The text was updated successfully, but these errors were encountered: