blob: 6ae7f0809f9dc9abb232f5bceb7e4611f4f1bc6c (
plain)
1
2
3
4
5
6
7
8
9
|
import { combineReducers, applyMiddleware, createStore as createReduxStore } from 'redux'
import thunk from 'redux-thunk'
export function createStore(parts) {
return createReduxStore(
combineReducers(parts),
applyMiddleware(...[thunk])
)
}
|