Routing mechanisms #1199
fecony
started this conversation in
Feature suggestions / feedback
Replies: 1 comment
-
This makes a lot of sense, and while you could do it manually right now by having a Wasp Page under "/settings" route and then from React component of that Page doing further routing to other react compnents, you can't do it in Wasp at the moment. An issue related to this: #985 . |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
React routing usually has some mechanism to group routes under path or to use layout for routes
Grouping with Layout component example from docs:
Now it's impossible to use Layout or group routes under the same path. What I think wasp could do to allow us to do this is to introduce route grouping syntax in wasp file:
That would place these 2 routes under /settings, so we would get /settings/integrations, /settings/preferences
Beta Was this translation helpful? Give feedback.
All reactions