Skip to content

Default networkMode configuration and fetchStatus = "paused" #4753

Answered by TkDodo
damacisaac asked this question in General
Discussion options

You must be logged in to vote

Add something in the "Important Defaults" section that describes this behaviour.

Feel free to PR

Add a reason or something in the query state that indicates why a query is paused

A query can only be paused because there is no network connection. This is documented here:

There have been multiple bugs in the chromium issue tracker around navigator.onLine. It seems like this is not a reliable property in Chrome.

you can set a custom event listener on the onlineManager if you want a better way to determine if you're really online or not:

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by damacisaac
Comment options

You must be logged in to vote
0 replies
Comment options

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

@nicholashamilton
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants