Implements stateIterator, stateGetter, stateSetter and stateReconciler for an ImmutableJS root state.
- redux-persist
- redux-persist-immutable -> If you're substate are ImmutableJS objects
import { persistStore } from 'redux-persist';
import { stateIterator, stateGetter, stateSetter,
stateReconciler, lastStateInit } from 'redux-persist-immutable-state';
persistStore(state, {
transforms: [reduxPersistImmutable],
stateIterator: stateIterator,
stateGetter: stateGetter, stateSetter: stateSetter,
lastStateInit: lastStateInit
});