Skip to content

helloheartteam/redux-persist-immutable

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 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 { persistReducer, persistCombineReducers } from 'redux-persist-immutable'

Immutable records

const persistConfig = {
  key: 'root',
  transforms: [encryptor],
  storage
};

const someLonleyPersistedReducer = persistReducer(persistConfig, e);

const root = persistCombineReducers(persistConfig, {
  a,
  b,
  c,
  d
});

About

Redux Persist Immutable

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%