Skip to content

Multiple stores? #39

Closed
Closed
@juristr

Description

@juristr

Hi,

might it be possible to have multiple stores? Like I have the scenario where I save flags and settings of the app (which you'd normally put in localStorage). But then I also have some app data which I regularly sync. For that 2nd scenario, I simply do a wipe & resync when I need to refresh the data, but obviously I'd only like to .clear() the app data, not the user's settings and flags.
Ofc, what I could do is to use a single "key" and store an array of app data inside there, but since it's a lot of data (PDF documents in binary form), I wouldn't want to serialize/deserialize it continuously from memory.

With the current implementation this isn't possible I guess, right? Any interest/idea on adding this feature? Would also be willing to help in case.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions