import React from "react"; import { createRoot } from "react-dom/client"; import App from "./App"; import reportWebVitals from "./reportWebVitals"; import "drag-drop-touch"; const container = document.getElementById("root"); const root = createRoot(container!); // createRoot(container!) if you use TypeScript root.render( ); // root.render(); // ReactDOM.render(, document.getElementById("root")); // If you want to start measuring performance in your app, pass a function // to log results (for example: reportWebVitals(console.log)) reportWebVitals();