Debounce decorator for redux-storage that delays and merges save operations. Version 1.1.3 is the latest stable release; the package is maintained as a fork of the original deprecated project. It wraps any redux-storage engine and defers save calls for a configurable delay, resetting the timer on each new state change. This reduces expensive storage writes by batching them. Requires redux-storage as a peer dependency.
npm install redux-storage-decorator-debounceNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a debounced storage engine that delays save by 1500ms.
Upgrade to 1.1.3 or later.
Install redux-storage: npm install redux-storage.
Be aware that only the latest state is saved after the debounce period.
npm install redux-storage
Ensure the first argument is a valid redux-storage engine (e.g., from redux-storage-engine-localstorage).