A decorator for redux-storage that adds versioned state migration capabilities. Version 1.1.0 is the latest stable release (last updated 2016). It allows defining migration functions keyed by version number, automatically applied when the stored version differs from the current version. Unlike manual migration checks, this integrates directly with redux-storage's engine pipeline. The package is simple but has no active development and relies on the now-deprecated redux-storage package.
npm install redux-storage-decorator-migrateNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to create a versioned storage engine with migrations and how to test migrations without a store using buildMigrationEngine.
Migrate to redux-persist with its own migration support or use a different state management approach.
Use buildMigrationEngine(version, versionKey, migrations) to specify a custom key.
Ensure you call migrate() first, then addMigration() in the correct order.
Consider using a more modern alternative like redux-persist with migrations.
npm install redux-storage
Use default import: import migrate from 'redux-storage-decorator-migrate'
First decorate: const decorated = migrate(engine, version); then call decorated.addMigration(...).
No dependency data recorded yet.