T
TanStack11mo ago
sunny-green

Route matching with a prefix?

Hi, is this possible to define a route like /@$username in tanstack router?
4 Replies
inland-turquoise
inland-turquoise11mo ago
not yet we have an open feature request for this on github
sunny-green
sunny-greenOP11mo ago
Thanks, what's the # for the issue?
harsh-harlequin
harsh-harlequin11mo ago
I was just looking for this issue. I think its this one. https://github.com/TanStack/router/issues/707
GitHub
Support for static prefix on dynamic paths · Issue #707 · TanStack/...
Describe the bug Currently TanStack Router supports dynamic path segments in the form /$var/. However it is sometimes useful to have a static prefix (or suffix) that is used as part of the matching...
inland-turquoise
inland-turquoise11mo ago
yes

Did you find this page helpful?