redux-saga-model
Advanced tools
Comparing version 0.0.4 to 0.0.5
{ | ||
"name": "redux-saga-model", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "@types/react-router": "2.x", |
@@ -152,3 +152,3 @@ import {createStore, applyMiddleware, compose, combineReducers} from 'redux'; | ||
*/ | ||
function getStore() { | ||
function getStore({history}) { | ||
@@ -235,2 +235,4 @@ // error wrapper 注册默认的 onError handler 默认直接抛出异常 | ||
this._history = isFunction(history) ? history(store) : history; | ||
// extend store | ||
@@ -237,0 +239,0 @@ store.runSaga = sagaMiddleware.run; |
61188
12
1611