index.tsx 554 B

12345678910111213141516171819
  1. import React from 'react';
  2. import ReactDOM from 'react-dom/client';
  3. import './index.css';
  4. import App from './App';
  5. import reportWebVitals from './reportWebVitals';
  6. const root = ReactDOM.createRoot(
  7. document.getElementById('root') as HTMLElement
  8. );
  9. root.render(
  10. <React.StrictMode>
  11. <App />
  12. </React.StrictMode>
  13. );
  14. // If you want to start measuring performance in your app, pass a function
  15. // to log results (for example: reportWebVitals(console.log))
  16. // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
  17. reportWebVitals();