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
- Start with
MemoryAdapterfor development - Move to
LocalStorageAdapterorRemoteAdapterfor production - Add
IndexedDBAdapter/HybridAdapterfor offline or low-connectivity UX - Use DB adapters server-side when you need strict data ownership