Network error is not reported in errors and loading stays true
When 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.
You can use errorPolicy=all as a workaround.
I guess the problem is that subscription error handler not passed here https://github.com/trojanowski/react-apollo-hooks/blob/master/src/index.js#L31
I have exactly the same issue as @shlomokraus described. Changing errorPolicy='all' doesn't make any difference - I tried to set that for individual query and globally in ApolloClient level. With <Suspense> it works as expected. I'm using version 0.2.1.
@mateusznowosielski can you check https://npmjs.com/@dc0de/react-apollo-hooks, it's published version of #42.
Thanks @umidbekkarimov this is very helpful. Error gets properly handled, I also checked the skip option and I like the new typescript aspect. Hope it gets merged.
I think it will be merged soon - I'm going to review it tomorrow.
Hello, any news on this issue?