fl-query
fl-query copied to clipboard
How to delete all queries & mutations from cache when logout user?
It is impossible to delete a key one by one, not to mention dynamic keys according to queries
You can use queryClient.getQuery('your-key') or queryClient.getQueriesWithPrefix('your-prefix').