Skip to content

Why paused queries are not <Suspend>ed? #4858

Answered by TkDodo
chekrd asked this question in General
Discussion options

You must be logged in to vote

because we only suspend when the query would actually fetch, and in this case, it wouldn't. It's debatable if this behaviour is correct or not. You can set networkMode: 'offlineFirst' to at least trigger one fetch, which will then suspend, then error-out (internally) and pause after the first retry.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@chekrd
Comment options

@TkDodo
Comment options

Answer selected by louis-young
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants