Javascript – ReactJS + Typescript – how do I render component after another component is mounted and fully loaded
I want to add some external scripts to my ReactJS/TS app and I would like to add these scripts not into index.html but with another component. if (root) { createRoot(root).render( <> <Scripts /> <BrowserRouter> <Routes> <Route path="/" element={<PageWrapper />}> <Route…