Replies: 1 comment
-
@depsimon - I think you can do this already after giving it a try in my project. Have a look at this issue: Looks like in the route file you will get props and on the props you'll find For example, I'm using it like so:
I then use the |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I was reading the new defineRoute implementation and was thinking it would be a good idea to think about route duplication during the development.
Would be cool if this new way of defining routes would allow for easy route duplications somehow.
I'd love to be able to do something like this (current API):
This currently throws an error:
If we specify unique IDs it prevents the error, but doesn't register the new routes.
Anyway, it'd be great if this scenario was possible easily without having to play with redirections & duplications of real route files.
Beta Was this translation helpful? Give feedback.
All reactions