T
TanStack4mo ago
deep-jade

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
useLocation re-renders before navigating · Issue #3110 · TanSta...
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...
2 Replies
deep-jade
deep-jade4mo ago
no can't you switch to another hook ?
genetic-orange
genetic-orange4mo ago
Maybe we should make it clearer that this issue is a documentation issue and not a bug

Did you find this page helpful?