Best way to pass route location to reusable components? - TanStack