Declares a persisted value kept in stores of one's own choosing, as @practic/persist does to pick IndexedDB. Stores are looked up on each call, so a handle declared at module scope uses whichever layer is registered by then.
@practic/persist
Returns the store of a storage key, the same one each time for the same key.
Where the value lives, and its initial value. Without attr, it stays in memory.
attr
Declares a persisted value kept in stores of one's own choosing, as
@practic/persistdoes to pick IndexedDB. Stores are looked up on each call, so a handle declared at module scope uses whichever layer is registered by then.