mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-15 05:08:41 -09:00
17 lines
367 B
JavaScript
17 lines
367 B
JavaScript
|
|
import {createStore, applyMiddleware} from 'redux';
|
||
|
|
import thunk from 'redux-thunk';
|
||
|
|
import rootReducer from '../reducers/index';
|
||
|
|
import effects from '../utils/effects';
|
||
|
|
import * as plugins from '../utils/plugins';
|
||
|
|
|
||
|
|
export default () =>
|
||
|
|
createStore(
|
||
|
|
rootReducer,
|
||
|
|
applyMiddleware(
|
||
|
|
thunk,
|
||
|
|
plugins.middleware,
|
||
|
|
thunk,
|
||
|
|
effects
|
||
|
|
)
|
||
|
|
);
|