Skip to content

fetchOptions and AbortController #1590

Answered by kitten
bigescalade asked this question in Q&A
Discussion options

You must be logged in to vote

There's a couple of things to unpack here and the offlineExchange's behaviour may also be tweaked in the future to accommodate to some of the use-cases we've now heard of or seen, but until then there's a couple of things to keep in mind.

Because we use the offlineExchange network errors do not bubble up

This thread had a couple of explanations on the specific error behaviour: #1520 (comment)

Specifically, mutation errors will always bubble up, even when you're offline, as network errors. Queries and optimistic mutations are the ones that may silently fail in the background, optimistic mutations fail silently, because they will still be reflected in the UI and will be resent when online…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@bigescalade
Comment options

@bigescalade
Comment options

@bigescalade
Comment options

@jbayotlang
Comment options

Answer selected by bigescalade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants