Recently we met a problem of a disappearing element on the web. Finally we found that it is because of a lack of data from graphql query.
However, the reason why the data is lacking is because the queried object doesn't have an id. We have queried the same object twice, and the second time the object contains less field, thus in ApolloCache the query with less field overwrites the one with more field, and data is missing.
With the apollo chrome extension, we can debug apollo cache and check the list of cache IDs.
It's also possible to console.log the cache with apolloClient.cache
on the server side (we have used nextjs).
Thanks for reading !