fl-query icon indicating copy to clipboard operation
fl-query copied to clipboard

How to delete all queries & mutations from cache when logout user?

Open du-nt opened this issue 1 year ago • 1 comments

It is impossible to delete a key one by one, not to mention dynamic keys according to queries

du-nt avatar Mar 10 '24 03:03 du-nt

You can use queryClient.getQuery('your-key') or queryClient.getQueriesWithPrefix('your-prefix').

PetrKubes97 avatar Mar 10 '24 10:03 PetrKubes97