/redux-persist-immutable

Redux Persist Immutable

Primary LanguageJavaScriptMIT LicenseMIT

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] })