index.js 535 B

1234567891011121314151617
  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(document.getElementById('root'));
  7. root.render(
  8. <React.StrictMode>
  9. <App />
  10. </React.StrictMode>
  11. );
  12. // If you want to start measuring performance in your app, pass a function
  13. // to log results (for example: reportWebVitals(console.log))
  14. // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
  15. reportWebVitals();