Skip to content

StorageBackend

StorageBackend = "local" | "session" | "memory" | KitStorage

Defined in: types.ts:33

Storage backend identifier or a custom Storage implementation.

  • "local" uses window.localStorage
  • "session" uses window.sessionStorage
  • "memory" uses an in-memory map (useful for SSR and tests)
  • A custom object implementing the KitStorage interface