You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any method, hook that I can use to reset all reactive variables states in the react application? I understand I cannot use client.resetStore or clearStore as reactive variable is "representing local state outside of the Apollo Client cache".
Where reactive variable state is saved if not in cache?
The text was updated successfully, but these errors were encountered:
konrazem
changed the title
[client][reactive-variable] How to clear all reactive variables states?
How to clear all reactive variables states?
Sep 17, 2023
Hi @konrazem 👋🏻 thanks for the question! The functionality you're describing with reactive variables is not currently available in Apollo Client. You could try using local resolvers to do the same thing, however. Does that help?
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
For general questions, we recommend using StackOverflow or our discord server.
Is there any method, hook that I can use to reset all reactive variables states in the react application? I understand I cannot use client.resetStore or clearStore as reactive variable is "representing local state outside of the Apollo Client cache".
I can do
however it is not elegant solution and I am not sure if this will make 55 rerenders?
I am looking something like
Where reactive variable state is saved if not in cache?
The text was updated successfully, but these errors were encountered: