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
{{ message }}
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
Reopening issue filed in #2177 since that was closed without a fix. Issue is still present in 3.1.3.
Summary of issue: onCompleted is not fired if the same data is attempted to be fetched again right after initial fetch. For example: (A and B would be useLazyQuery calls)
Fetch A - onCompleted is fired
Fetch B - onCompleted is fired
Fetch A - onCompleted is fired
Fetch A again - onCompleted is NOT fired
Reopening issue filed in #2177 since that was closed without a fix. Issue is still present in 3.1.3.
Summary of issue:
onCompleted
is not fired if the same data is attempted to be fetched again right after initial fetch. For example: (A and B would be useLazyQuery calls)Fetch A - onCompleted is fired
Fetch B - onCompleted is fired
Fetch A - onCompleted is fired
Fetch A again - onCompleted is NOT fired
Perhaps related to this explicit blocking: https://github.com/apollographql/apollo-client/blob/master/src/react/data/QueryData.ts#L272 ?
Only solution right now is to bypass/disable cache.
The text was updated successfully, but these errors were encountered: