{"size": 696, "ext": "js", "max_stars_repo_path": "src/store/index.js", "max_stars_repo_name": "ZhauGuangxian/my-react-base", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/store/index.js", "max_issues_repo_name": "ZhauGuangxian/my-react-base", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/store/index.js", "max_forks_repo_name": "ZhauGuangxian/my-react-base", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 33.1428571429, "max_line_length": 79, "alphanum_fraction": 0.7600574713}
/*
 * @Author: your name
 * @Date: 2019-12-12 19:25:32
 * @LastEditTime : 2020-08-17 15:50:37
 * @LastEditors  : wanglinghui
 * @Description: In User Settings Edit
 * @FilePath: \tax-data-service-ui\src\store\index.js
 */
import { createStore, applyMiddleware, compose } from 'redux';
import Reducer from './reducer.js';

import createSagaMiddleWare from 'redux-saga';
import mySagas from './mySaga.js';
const composeEnhancer = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
const sagaMiddleWare = createSagaMiddleWare();
const enhancer = composeEnhancer(applyMiddleware(sagaMiddleWare));
const store = createStore(Reducer, enhancer);
sagaMiddleWare.run(mySagas);

export default store;
