Search
Star
Feedback
Setup for Free
Β© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Different routes using different layouts, while doing file based routing please? - SolidJS
S
SolidJS
β’
13mo ago
β’
12 replies
Chris
Different routes using different layouts, while doing file based routing please?
For example route
/a uses layout
.
/src
/lib
/layouts
/One
.tsx and routes
/b and
/c use layout
/Two
.tsx
I
'd rather not just wrap the layout component in the route b
/c then if we swap between pages that use the same layout state is lost
Thanks
!
SolidJS
Join
Solid is a declarative reactive Javascript library for creating user interfaces.
12,274
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Explicit Routing (opt out of file based)
S
SolidJS / support
3y ago
Component routing vs config-based routing
S
SolidJS / support
14mo ago
routing based on subdomain
S
SolidJS / support
2y ago
Layouts w/ Component Rendering please?!
S
SolidJS / support
12mo ago