index.js 449 B

123456789101112
  1. import React from 'react';
  2. import ReactDOM from 'react-dom';
  3. import './index.css';
  4. import App from './App';
  5. import * as serviceWorker from './serviceWorker';
  6. ReactDOM.render(<App />, document.getElementById('root'));
  7. // If you want your app to work offline and load faster, you can change
  8. // unregister() to register() below. Note this comes with some pitfalls.
  9. // Learn more about service workers: http://bit.ly/CRA-PWA
  10. serviceWorker.register();