A wrapper around redux-persist that provides ImmutableJS support.
For entire api see redux-persist docs. This library is a drop in replacement.
import { persistReducer, persistCombineReducers } from 'redux-persist-immutable'const persistConfig = {
key: 'root',
transforms: [encryptor],
storage
};
const someLonleyPersistedReducer = persistReducer(persistConfig, e);
const root = persistCombineReducers(persistConfig, {
a,
b,
c,
d
});