text: import React from 'react';
  import ReactDOM from 'react-dom';
  import { createStore, applyMiddleware } from 'redux';
  import createSagaMiddleware from 'redux-saga';
  import { Provider } from 'react-redux';
  
  import App from './App';
  import reducer from './reducer';
  import sagas from './sagas';
  import './style.scss';
  
  const sagaMiddleware = createSagaMiddleware();
  const store = createStore(reducer, applyMiddleware(sagaMiddleware));
  sagaMiddleware.run(sagas);
  
  ReactDOM.render(
    <Provider store={store}>
      <App />
    </Provider>
    , document.getElementById('app'),
  );
  
  // Hot Module Replacement
  if (module.hot) {
    module.hot.accept();
  }
  