index.js 412 B

12345678910111213141516
  1. import React from 'react';
  2. import ReactDOM from 'react-dom';
  3. import './index.css';
  4. import App from './App';
  5. import {Provider} from 'react-redux';
  6. import {store} from './store'
  7. import * as serviceWorkerRegistration from './serviceWorkerRegistration';
  8. ReactDOM.render(
  9. <Provider store={store}>
  10. <App/>
  11. </Provider>
  12. ,document.getElementById('root')
  13. );
  14. serviceWorkerRegistration.register();