import { createStore } from 'redux'
import rootReducer from './reducers'

let store = createStore(rootReducer)

export default store

import { createStore, compose } from 'redux'
import rootReducer from './reducers'

const initialState = {}

const middleware = compose(
  window.devToolsExtension && window.devToolsExtension()
)

let store = createStore(rootReducer, initialState, middleware)

export default store

Add hooks for Redux DevTools Extension
Add hooks for Redux DevTools Extension
