react-cmf
Advanced tools
Comparing version 0.9.3 to 0.10.0
@@ -18,2 +18,4 @@ 'use strict'; | ||
var _reduxBatchedActions = require('redux-batched-actions'); | ||
var _reduxThunk = require('redux-thunk'); | ||
@@ -103,3 +105,3 @@ | ||
var store = _redux.compose.apply(undefined, [_redux.applyMiddleware.apply(undefined, middlewares)].concat(enhancers))(_redux.createStore)(rootReducer, preloadedState); | ||
var store = _redux.compose.apply(undefined, [_redux.applyMiddleware.apply(undefined, middlewares)].concat(enhancers))(_redux.createStore)((0, _reduxBatchedActions.enableBatching)(rootReducer), preloadedState); | ||
@@ -106,0 +108,0 @@ return store; |
@@ -64,2 +64,3 @@ { | ||
"redux": "3", | ||
"redux-batched-actions": "^0.1.4", | ||
"redux-logger": "2.6.1", | ||
@@ -83,5 +84,6 @@ "redux-mock-store": "^1.1.4", | ||
"redux": "3", | ||
"redux-batched-actions": "0", | ||
"redux-thunk": "2" | ||
}, | ||
"version": "0.9.3" | ||
"version": "0.10.0" | ||
} |
@@ -7,2 +7,3 @@ /** | ||
import { combineReducers, createStore, applyMiddleware, compose } from 'redux'; | ||
import { enableBatching } from 'redux-batched-actions'; | ||
import thunk from 'redux-thunk'; | ||
@@ -86,3 +87,3 @@ import invariant from 'invariant'; | ||
...enhancers | ||
)(createStore)(rootReducer, preloadedState); | ||
)(createStore)(enableBatching(rootReducer), preloadedState); | ||
@@ -89,0 +90,0 @@ return store; |
Sorry, the diff of this file is not supported yet
5101176
132383
11
37