Network error is not reported in errors and loading stays true
See original GitHub issueWhen useing useQuery (with suspense false), I get a network error, but the hook state stays with “loading: true” and errors undefined. networkState is still 1.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Loading state stuck true forever · Issue #2669 - GitHub
If I send a query and get 404 error in response then everything will be ok and request state will change to loading=false...
Read more >Handling operation errors - Apollo GraphQL Docs
Apollo Client helps you handle these errors according to their type, enabling you to show appropriate information to the user when an error...
Read more >Fix internet connection problems on Android devices
If you can't access the Internet on your Android device, either through an app or a website, try these troubleshooting steps. Signs of...
Read more >Troubleshoot Dataflow errors - Google Cloud
If you run into problems with your Dataflow pipeline or job, this page lists error messages that you might see and provides suggestions...
Read more >Troubleshooting Common Errors - Gatsby
Error : ReferenceError: window is not defined when running gatsby build · Build problems from Field 'browser' doesn't contain a valid alias configuration...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thanks @umidbekkarimov this is very helpful. Error gets properly handled, I also checked the
skipoption and I like the new typescript aspect. Hope it gets merged.@mateusznowosielski can you check https://npmjs.com/@dc0de/react-apollo-hooks, it’s published version of #42.