T
TanStack13mo ago
extended-salmon

Nested dynamic routes

Hello, Is it possible to have one Route be able to match nested dynamic routes? I would like '/profile/$userID/$tabID/$subTabID' to be reachable via any sub-sebsequence (e.g. '/profile', '/profile/$userID'). I tried building out this folder structure but couldn't get the inner routes to match Thank you
1 Reply
absent-sapphire
absent-sapphire13mo ago
create a route for each sub-sebsequence path referencing the same component.

Did you find this page helpful?