TanStackT
TanStack11mo ago
4 replies
faint-white

You are calling ReactDOMClient.createRoot() ...

Hello, i have a simple setup. Basically i have /login, /admin and / paths

When i start the navigation on / nothing happens, but as soon as i go back to "/" from any other page i get this error and it is driving me mad.
main.tsx:44  You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it.


copy of my repo: https://github.com/mrxelnag/help-needed

Has anyone ever encountered something like so? Sorry if this is a stupid question or a mistake, this is my first TanstackRouter project.
GitHub
Contribute to mrxelnag/help-needed development by creating an account on GitHub.
Was this page helpful?