ImmutableJS compatible merger for redux-storage that merges plain state with Immutable.js.Map/List state. Version 1.0.5 is the latest stable release, last updated in 2016. This package is a fork of the original by michaelcontento, now maintained by react-stack. It provides a simple merger function for use with redux-storage's reducer to handle ImmutableJS objects, unlike the default plain object merger. Essential for projects using redux-storage with ImmutableJS.
npm install redux-storage-merger-immutablejsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to use redux-storage-merger-immutablejs with redux-storage and ImmutableJS. The merger ensures proper merging of ImmutableJS state during loading.
Migrate to redux-persist with redux-persist-immutable or similar.
Update immutable to version >=3.8.1.
Use redux-persist-immutable for redux-persist projects.
Custom merge for deep nesting required.
Audit dependencies and consider migration.
Use const merger = require('redux-storage-merger-immutablejs'); or import merger from '...'.Ensure immutable is installed and Immutable.Map/List is used in state.
npm install immutable --save
Pass merger as second argument to storage.reducer(reducer, merger).