Reset User Data on Logout #1886
Unanswered
TkinterinShanghai
asked this question in
Q&A
Replies: 1 comment 7 replies
-
what do you mean: "the queries are gone but the data is still there" ? For what I know, when you call removeQueries, the queryKey will be removed from the cache and active subscribers will be notified |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to log out and clear all data thats related to a user.
My approach:
And yup, the queries are gone. But the data is still there, the components do not rerender. It would be very nice the components that dont have valid queries anymore would update, which they dont. How would I go about doing that or is that a missing feature?
Beta Was this translation helpful? Give feedback.
All reactions