TanStackT
TanStack4mo ago
10 replies
awake-maroon

[Help wanted] Nested routes

Looking to setup a few routes which share the same first param, is this possible?

Somethig like..

/clients/$clientId.tsx
/cilents/$clientId.edit.tsx

When trying this above, my edit route kept rendering the $clientId.tsx. Only way I could get this to work was changing to $clientId.view.tsx and $clientId.edit.tsx.
Was this page helpful?