Apollo Community
`cache.evict` does not cause the query hook to return `{ data: undefined }` again — the hook still returns cached data
Client SDKs
client
MardanovaA
April 23, 2024, 12:37pm
2
Hi! I have similar problem
(there)
. Please tag me if you find a solution
show post in topic
Related topics
Topic
Replies
Views
Activity
Custom hook to Invalidate caches
Client SDKs
web
3
892
July 13, 2024
useMutation update cache evict does not work with refetchQueries?
Client SDKs
client
1
492
February 6, 2025
How to evict all related queries from cache that reference ids of deleted entities
Client SDKs
client
,
web
,
caching
7
89
August 29, 2025
Skipped Query returns old data after cache clearing
Client SDKs
client
,
web
1
286
April 24, 2024
A simple way to keep a query in the cache fetched with only the latest set of variables, and discard the rest?
Client SDKs
client
0
188
April 17, 2024