jh108-redux-persist-immutable-plugin
v1.0.0
Published
redux-persist-immutable with updated dependencies to remove transit.js top level immutablejs support for redux-persist
Downloads
8
Maintainers
Readme
JH108/redux-persist-immutable
Fork of redux-persist-immutable with updated dependencies to remove transit.js
Redux Persist Immutable
A wrapper around redux-persist that provides ImmutableJS support.
Usage
For entire api see redux-persist docs. This library is a drop in replacement.
import { persistStore, autoRehydrate } from 'redux-persist-immutable';
persistStore(store);
Immutable records
persistStore(state, { records: [SomeRecord] });