T
TanStack10mo ago
useful-bronze

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
genetic-orange
genetic-orange10mo ago
create a route for each sub-sebsequence path referencing the same component.

Did you find this page helpful?