TanStackT
TanStack8mo ago
46 replies
urgent-maroon

useRouter must be used inside a <RouterProvider> component!

Running into this issue with the alpha version.

Checked other threads in this server for this, but that all seems to come down to multiple versions of router running, I don't have this afaik. I ran pnpm dedupe

Should the version of start and router be the same alpha as well? So alpha.22. Or can one be on 23?
Was this page helpful?