T
TanStack2mo ago
rising-crimson

Do _pathlessLayouts allow dynamic routes for protected children routes?

Hey all I am new to ts-router, quick question I remember reading in the docs that a pathless layout like _dashboard/ can’t have dynamic routes as children (e.g. _dashboard/$postId.tsx), and you’d have to do something like $postId/_dashboard/.... But what if I use _authenticated/ to protect routes — would _authenticated/dashboard/users/$userId.tsx still work?
1 Reply
wise-white
wise-white2mo ago
thats solved right?

Did you find this page helpful?