text: import React from 'react'
  import ReactDOM from 'react-dom'
  import { Provider } from 'react-redux'
  import createHistory from 'history/createBrowserHistory'
  import AppContainer from 'react-hot-loader/lib/AppContainer'
  import App from './components/base/App'
  import configureStore from './configureStore'
  
  const history = createHistory()
  const { store } = configureStore(history, window.REDUX_STATE)
  
  const render = App => {
    const root = document.getElementById('root')
  
    ReactDOM.render(
      <AppContainer>
        <Provider store={store}>
          <App />
        </Provider>
      </AppContainer>,
      root
    )
  }
  
  render(App)
  
  if (module.hot && process.env.NODE_ENV === 'development') {
    module.hot.accept('./components/base/App', () => {
      const App = require('./components/base/App').default
      render(App)
    })
  }
  