Skip to content

client.resetStore() clears localStorage #15

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions