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