index.js 513 B

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