Skip to content
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.

4.0.0

Compare
Choose a tag to compare
@michaelcontento michaelcontento released this 02 Mar 08:22
· 18 commits to master since this release

NEW FEATURE

  • Flexible state merger functions (issue #93 / PR #104)
  • If NODE_ENV != 'production', the save action issued by redux-storage contains a meta.origin with the action that trigged this save request. This is a pretty useful feature, if you want to track the origins of the save requests (issue #100 / PR #102)

BREAKING CHANGES

As we now support flexible state merger functions, ImmutableJS has completely been removed from this project! So if you're using redux-storage with ImmutableJS, you have to pass redux-storage-merger-immutablejs as second argument to storage.reducer!

Old

const reducer = storage.reducer(combineReducers(reducers));

New

$ npm install --save redux-storage-merger-immutablejs
import immutableJsMerger from 'redux-storage-merger-immutablejs';

const reducer = storage.reducer(combineReducers(reducers), immutableJsMerger);