An open API service indexing awesome lists of open source software.

https://github.com/rt2zz/redux-persist-immutable

Redux Persist Immutable
https://github.com/rt2zz/redux-persist-immutable

Last synced: 18 days ago
JSON representation

Redux Persist Immutable

Awesome Lists containing this project

README

        

# Redux Persist Immutable
A wrapper around redux-persist that provides [ImmutableJS](https://facebook.github.io/immutable-js/) support.

# Usage
For entire api see [redux-persist docs](https://github.com/rt2zz/redux-persist). This library is a drop in replacement.
```js
import { persistStore, autoRehydrate } from 'redux-persist-immutable'

persistStore(store)
```

# Immutable records
```js
persistStore(state, { records: [SomeRecord] })
```