Practic BUI (Base UI) - v1.0.0
    Preparing search index...

    Type Alias PersistLayer

    A persistence layer components store their state through, chosen with persistRegisterLayer: @practic/bui's components store through it. @practic/persist's persistLayer implements one; other packages can implement their own, and persistCreateStorageLayer is the built-in fallback.

    type PersistLayer = {
        getStore: (key: string) => PersistKeyStore;
    }
    Index
    getStore: (key: string) => PersistKeyStore

    Returns the store of a storage key, the same one each time for the same key.