-
released this
2016-03-02 08:14:36 +00:00 | 18 commits to master since this releaseNEW FEATURE
- Flexible state merger functions (issue #93 / PR #104)
- simple: merge plain old JS structures (default)
- immutablejs: merge plain old JS and ImmutableJS
objects
- If
NODE_ENV != 'production', the save action issued by redux-storage contains ameta.originwith 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-immutablejsimport immutableJsMerger from 'redux-storage-merger-immutablejs'; const reducer = storage.reducer(combineReducers(reducers), immutableJsMerger);Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Flexible state merger functions (issue #93 / PR #104)