• 4.0.0 2540e985be

    Stable

    michaelcontento released this 2016-03-02 08:14:36 +00:00 | 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);
    
    Downloads