{"size": 556, "ext": "js", "max_stars_repo_path": "src/store.js", "max_stars_repo_name": "yurimikushov/bugboard", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/store.js", "max_issues_repo_name": "yurimikushov/bugboard", "max_issues_repo_issues_event_min_datetime": "2021-01-10T16:09:21.000Z", "max_issues_repo_issues_event_max_datetime": "2021-01-16T09:03:16.000Z", "max_forks_repo_path": "src/store.js", "max_forks_repo_name": "yurimikushov/bugboard", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 3, "max_forks_count": null, "avg_line_length": 32.7058823529, "max_line_length": 65, "alphanum_fraction": 0.8021582734}
import { createStore, applyMiddleware } from 'redux'
import { routerMiddleware } from 'connected-react-router'
import { createBrowserHistory } from 'history'
import thunkMiddleware from 'redux-thunk'
import { composeWithDevTools } from 'redux-devtools-extension'
import rootReducer from './reducers'

const history = createBrowserHistory()

const composedEnhancer = composeWithDevTools(
  applyMiddleware(routerMiddleware(history), thunkMiddleware)
)

const store = createStore(rootReducer(history), composedEnhancer)

export { history, store as default }
