Equivalent of useLocation? - TanStack