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
- Host: GitHub
- URL: https://github.com/rt2zz/redux-persist-immutable
- Owner: rt2zz
- License: mit
- Created: 2016-09-13T19:18:48.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-10-18T22:03:43.000Z (over 3 years ago)
- Last Synced: 2025-04-12T15:09:53.616Z (about 1 month ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 113
- Watchers: 3
- Forks: 31
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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] })
```