You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When notifyOnNetworkStatusChange is set to true and call refetch, then the network states sticks and always shows loading spinner
To Reproduce
Steps to reproduce the behavior:
Create queryRef:
this.queryRef = this.readQuery.watch(variables, {
fetchPolicy: 'cache-and-network',
// BUG if uncomment next line, then there will be an infinite load when calling refetch
// notifyOnNetworkStatusChange: true,
...readQuery?.options
})
Describe the bug
When
notifyOnNetworkStatusChange
is set totrue
and callrefetch
, then the network states sticks and always shows loading spinnerTo Reproduce
Steps to reproduce the behavior:
Expected behavior
Then refetch complete network request loading indicator should be
false
Environment:
The text was updated successfully, but these errors were encountered: