TanStackT
TanStack8mo ago
3 replies
dual-salmon

useLocation re-renders before navigating status

Hi, is there any update on this issue?
It’s causing my companie’s project a lot of noise in our monitors.
https://github.com/TanStack/router/issues/3110
GitHub
This might not be a bug, but many people seem to get tripped by this. It might just be a documentation issue for people coming from react-router-dom who are used to using useLocation for everything...
`useLocation` re-renders before navigating · Issue #3110 · TanSta...
Was this page helpful?