Fix: Cache data may be lost when replacing the getAllPosts field of a Query object in Apollo client.
Supposing we have a getAllPosts query that returns all posts. When we perform a delete operation using the recently released Apollo v3 and uses refetchQueries to update our UI, we are greeted with this warning: Cache data may be lost when replacing ...
Oct 19, 20202 min read2.7K
