content: import React from 'react';
  import { hydrate, render } from 'react-dom';
  import { Provider } from 'react-redux';
  import { BrowserRouter as Router } from 'react-router-dom';
  import store from './store';
  import App from './components/App';
  
  const rootElement = document.getElementById('root');
  
  const Index = () => {
  
  	return (
  		<Provider store={store}>
  			<Router>
  				<App />
  			</Router>
  		</Provider>
  	)
  }
  
  if (rootElement.hasChildNodes()) {
  	hydrate(<Index />, rootElement);
  } else {
  	render(<Index />, rootElement);
  }
  