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