T
TanStack•2w ago
complex-teal

_ underscore dynamic paths - are not resolving

Case: /post/$postId => nanoId string that contains _ (underscore) Router can't find matching routes
3 Replies
united-yellow
united-yellow•2w ago
Path Params | TanStack Router React Docs
Path params are used to match a single segment (the text until the next /) and provide its value back to you as a named variable. They are defined by using the $ character prefix in the path, followed...
rival-black
rival-black•2w ago
@fstodulski please create a minimal reproducer. make sure to use the latest router version
complex-teal
complex-tealOP•2w ago
@hokkyss probably yeah - managed to workaround it with nanoId custom ID 😉

Did you find this page helpful?