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
I was under the impression that if loading === true, then data should be undefined. As you can see in this example, calling fetchMore doesn't revert data to undefined.
What are the circumstances that would cause data to become undefined? Different query variables/calling refetch perhaps? Is there a scenario where calling fetchMore should cause data to become undefined?
Thanks!
The text was updated successfully, but these errors were encountered:
@skolerst Might be helpful to check out this previous issue related to data being undefined in 3.0. That issue should also help answer your question here re: different query variables.
Hello!
I am working with @apollo/client v3.3.6
I forked and made some updates to a sandbox here: https://codesandbox.io/s/apollo-fetchmore-issue-forked-0o7dq?file=/src/index.js
I was under the impression that if
loading === true
, then data should be undefined. As you can see in this example, calling fetchMore doesn't revert data to undefined.What are the circumstances that would cause data to become undefined? Different query variables/calling refetch perhaps? Is there a scenario where calling fetchMore should cause data to become undefined?
Thanks!
The text was updated successfully, but these errors were encountered: