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
There's actually an internal method that does this and it's being called by clear. Basically we just need to use export const clear = deleteWithLogic and it will work right away. PR welcome
It could be named something like
cache.clearExcept
, and would accept an array of keys to preserve.This would allow resetting the cache easily while keeping some important data, e.g. login credentials.
The text was updated successfully, but these errors were encountered: