index.js 503 B

1234567891011121314151617
  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(
  7. <React.StrictMode>
  8. <App />
  9. </React.StrictMode>,
  10. document.getElementById('root')
  11. );
  12. // If you want your app to work offline and load faster, you can change
  13. // unregister() to register() below. Note this comes with some pitfalls.
  14. // Learn more about service workers: https://bit.ly/CRA-PWA
  15. serviceWorker.unregister();