text: import React from 'react';
  import ReactDOM from 'react-dom';
  import { Provider } from 'react-redux';
  
  import store from './store';
  import { BrowserRouter as Router } from 'react-router-dom';
  
  import App from './features/App';
  
  const render = () => {
    ReactDOM.render(
      <Provider store={store}>
        <Router>
          <App />
        </Router>
      </Provider>,
      document.getElementById('root')
    );
  };
  
  render();
  
  if (process.env.NODE_ENV === 'development' && module.hot) {
    module.hot.accept('./features/App', render);
  }
  