TanStackT
TanStack3y ago
2 replies
moderate-tomato

useMatchRoute

If i understand correctly using matchRoute and setting fuzzy true, would mean if I am lets say in route /posts/10, and set the
matchRoute({ to: '/posts', fuzzy: true })

then it should return params, meaning that the route matches ? But I even made a fork of one of the demos and it always seems to return false. https://codesandbox.io/p/devbox/upbeat-dan-fvfhxd
Was this page helpful?