Replies: 1 comment 1 reply
-
I would advise against using dynamic registration. Even if it works, if it is not known statically, you won't get any typesafety for that route. Instead, I prefer using a |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I have the following code
But in another component (Dashboard), I want to register another route, in order to simulate a protected route controlled by the frontend.
but it gives me
path is undefined
, how can I end up add a route in a component? Is it possible?Thanks.
Beta Was this translation helpful? Give feedback.
All reactions