Skip to content

rt2zz/redux-persist-immutable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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