Docs
Adapters
Overview

Adapters Overview

Adapters control where FeatureDrop stores user state (watermark, dismissed IDs, queued operations).

All adapters implement the same storage contract, so UI components stay unchanged when you swap persistence.

Choose by reliability and sync requirements, not by convenience alone.

Selection matrix

Practical path

  1. Start with MemoryAdapter for development
  2. Move to LocalStorageAdapter or RemoteAdapter for production
  3. Add IndexedDBAdapter/HybridAdapter for offline or low-connectivity UX
  4. Use DB adapters server-side when you need strict data ownership