-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
useLazyQuery loading and networkStatus when call refetch. fetchMore send two requests #7243
Comments
fetchMore also does not return loading true.
|
Same issue. |
Same issues:
|
Same issue. useEffect(() => { const getDetail = async (jobAdId: string) => { getJobAdRes ={ |
I have the same issue,
The loading status change from |
Hello. I try to use hook useLazyQuery to filter data with new variables.
apollo client config for watch query is fetchPolicy: 'cache-and-network',
When i set new variables at first time - refetch does not trigger loading as true and networkStatus always 7. But refetch with repeated variables return loading true, as i need.
I tried different fetchPolicy setting, and only with 'cache-and-network' and repeated variables returned loading true on refetch.
Also it does not suit me to set notifyOnNetworkStatusChange, because i need to show previous result before data will update, and spinner for loading over.
The text was updated successfully, but these errors were encountered: