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
Thank you for that great library! It's very useful.
For some reason, apollo-cache-instorage clears localStorage when I call client.resetStore() after a user logs in. I can see it's related to objectStorageCache.clear() method.
Is it intended behavior? Seem unintuitive to me, but I'm sure there is an explanation.
Thanks
The text was updated successfully, but these errors were encountered:
omniteq
changed the title
objectStorageCache.clear clears localStorage keys without a prefix
client.resetStore() clears localStorage
Mar 26, 2020
Thank you for that great library! It's very useful.
For some reason, apollo-cache-instorage clears localStorage when I call client.resetStore() after a user logs in. I can see it's related to objectStorageCache.clear() method.
Is it intended behavior? Seem unintuitive to me, but I'm sure there is an explanation.
Thanks
The text was updated successfully, but these errors were encountered: