Request: Allow deleting inactive query data in queryCache.invalidateQueries
#894
-
ProblemAs mentioned in #708, my teams wants to upgrade from v1 of This works in v1 because For this reason, we'd like a way to tell Possible SolutionsA way we could see this being implemented in a non-breaking way would be to have a new A way we could see this being implemented in a likely better, but breaking way (v3?) would be to replace the Let me know if you see any problems with what we've suggested, and if this is something that you'd be open to having added! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
What about just removing the queries with a specified Query key that do not have any active instances/observers? |
Beta Was this translation helpful? Give feedback.
What about just removing the queries with a specified Query key that do not have any active instances/observers?