T
TanStack4y ago
wise-white

useMatch not working as expected

It always returns
id: "root"
isLoading: false
ownData: {}
params: {}
pathname: "/"
id: "root"
isLoading: false
ownData: {}
params: {}
pathname: "/"
etc, I saw an open issue here describing the same thing but it has no comments https://github.com/TanStack/router/discussions/148
GitHub
useMatch returns root · Discussion #148 · TanStack/router
I've got a basic route setup with no nested routes. I'm wanting to dynamically update my page template with the route's title. Whenever I try to use useMatch in my template ...
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?