index.js 580 B

123456789101112131415161718192021
  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. import { Preloader } from "./helpers/preloaders";
  7. const root = ReactDOM.createRoot(document.getElementById("root"));
  8. root.render(
  9. <>
  10. <App />
  11. </>
  12. );
  13. // If you want to start measuring performance in your app, pass a function
  14. // to log results (for example: reportWebVitals(console.log))
  15. // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
  16. reportWebVitals();