{"size": 397, "ext": "js", "max_stars_repo_path": "src/redux/store.js", "max_stars_repo_name": "qixiuss/wxapp-redux-starter", "max_stars_repo_stars_event_min_datetime": "2016-12-01T07:04:24.000Z", "max_stars_repo_stars_event_max_datetime": "2021-12-09T10:05:20.000Z", "max_issues_repo_path": "src/redux/store.js", "max_issues_repo_name": "umissthestars/wxapp-redux-starter", "max_issues_repo_issues_event_min_datetime": "2017-04-19T14:16:49.000Z", "max_issues_repo_issues_event_max_datetime": "2017-07-20T15:21:43.000Z", "max_forks_repo_path": "src/redux/store.js", "max_forks_repo_name": "umissthestars/wxapp-redux-starter", "max_forks_repo_forks_event_min_datetime": "2017-01-03T02:46:21.000Z", "max_forks_repo_forks_event_max_datetime": "2020-06-17T01:36:07.000Z"}
{"max_stars_count": 219, "max_issues_count": 2, "max_forks_count": 42, "avg_line_length": 18.9047619048, "max_line_length": 51, "alphanum_fraction": 0.6423173804}
import {
    createStore,
    applyMiddleware,
    combineReducers
} from '../vendors/redux.min.js';
import thunk from '../vendors/redux-thunk.js';

// import reducers
import { rootReducer } from './reducer.js';

let entities = wx.getStorageSync('entities') || {};

export const store = createStore(
    rootReducer, {
        entities: entities
    },
    applyMiddleware(
        thunk
    )
);
