-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
Description
Describe the bug
Query never goes into Error state if user is offline. Query is forever in Fetching state, which prevents me from showing an error.
To Reproduce
Steps to reproduce the behavior:
- Go to 'https://tn8bn.csb.app'
- Open Chrome Dev Tools, disable cache, set Throttle to Offline (or disable All Network Adapters on your PC. Disabling cache is needed anyway)
- Click on refetch
- Query is forever in Fetching state.
Expected behavior
I'd expect the query to fail (go to Error state), so I'd be able to show error to the user.
Btw, if retry is set to false, then query goes into Error state as expected.
eucaos, nickjohnson-dev, cafrias, emeraldkwekowe, Sachin-12 and 5 moresjsakib and miteshdevg
