Cache and storage
The client exposes a reactive cache:Storage adapters
StorageAdapter:
Signals
The SDK provides framework-agnostic reactive primitives (via@preact/signals-core). These work in any JavaScript environment with no framework dependency required:
subscribe() method and the SDK exports a standalone subscribe() utility that work without any signal imports. See Framework Integration for patterns in React, Vue, Svelte, and more.
Singleton access
After initialization, access the client anywhere:Technical details
- Runtime: Browser (ESM)
- TypeScript: Full type definitions included
- Dependencies:
@preact/signals-core - Bundle: Tree-shakeable ES modules
- Caching: Built-in LRU cache with configurable TTL