content: /* eslint-disable no-unused-vars */
  import React from 'react'
  import {Provider} from 'react-redux'
  
  /* eslint-enable no-unused-vars */
  import ReactDOM from 'react-dom'
  import {routerMiddleware, syncHistoryWithStore, routerReducer} from 'react-router-redux'
  import {browserHistory} from 'react-router'
  import {createStore, combineReducers, applyMiddleware} from 'redux'
  import createSagaMiddleware from 'redux-saga'
  import {composeWithDevTools} from 'redux-devtools-extension/developmentOnly'
  import counterReducer from './reducers/counter'
  import rootSaga from './sagas'
  import router from './routes'
  
  const sagaMiddleware = createSagaMiddleware()
  const store = createStore(
      combineReducers({
          routing: routerReducer,
          counter: counterReducer
      }),
      {},
      composeWithDevTools(
          applyMiddleware(
              routerMiddleware(browserHistory),
              sagaMiddleware
          )
      )
  )
  
  const history = syncHistoryWithStore(browserHistory, store)
  sagaMiddleware.run(rootSaga)
  
  /* eslint-disable no-undef */
  ReactDOM.render(
      <Provider store={store}>
          {router(history)}
      </Provider>,
      document.getElementById('app-launcher')
  )
  
  /* eslint-enable no-undef */
  