Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
RSC: Shared layout in different paths - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
โข
3y ago
โข
16 replies
Nicolas
RSC: Shared layout in different paths
Using Next 13 how would someone share the same layout for two pages that are not in the same directory
? In this example I want
pageOne
pageOne
and
pageTwo
pageTwo
to have the same layout but I also want
login
login
to not have it so I cannot use the layout 1 level higher
. I tried re
-exporting the layout of
pageOne
pageOne
form
pageTwo
pageTwo
's
layout.tsx
layout.tsx
and it works but it feels a bit weird
Theo's Typesafe Cult
Join
26,564
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Creating this layout in Nextjs with RSC with URL state
TTC
Theo's Typesafe Cult / questions
2y ago
TRPC context in RSC
TTC
Theo's Typesafe Cult / questions
3y ago
RSC error
TTC
Theo's Typesafe Cult / questions
15mo ago
Filtering and search in RSC
TTC
Theo's Typesafe Cult / questions
3y ago