Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
SolidStart unknown number of optional nested route parameters - SolidJS
S
SolidJS
•
3y ago
•
10 replies
Max
SolidStart unknown number of optional nested route parameters
Hi
, looking if there
's a way to set up file based routes where there
's an unknown number of optional nested routes
.
So could be
/:a?/:b?/:c?/.../:f?...
/:a?/:b?/:c?/.../:f?...
But seems might have to then be array of args cause we don
't have names
. So for now just going 3
-4 levels explicitly like
[a]/
├─ [[b]]/
│ ├─ [[c]].tsx
[a]/
├─ [[b]]/
│ ├─ [[c]].tsx
which is anyway all I likely need so may be fine
, but wondering if there was a way
.
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
getting route parameters severside
S
SolidJS / support
3y ago
Nested layouts with dynamic route
S
SolidJS / support
16mo ago
SolidStart: Get Rendered Route Instead in useLocation()
S
SolidJS / support
3y ago
Wrapping SolidStart: JSX is an unknown file extension
S
SolidJS / support
15mo ago