Replies: 1 comment 2 replies
-
You can do this with: const queryCache = useQueryCache()
queryCache.getEntries(filters).map(entry => queryCache.remove(entry)) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to clean all data of cache in queries with optional filtering.
The example scenario is: in a user driven application clean all user related cache after logout.
Beta Was this translation helpful? Give feedback.
All reactions