redux-persist-immutable

top level immutablejs support for redux-persist

Usage no npm install needed!

<script type="module">
  import reduxPersistImmutable from 'https://cdn.skypack.dev/redux-persist-immutable';
</script>

README

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