Registering Routes dynamically

Hi everyone,
Is it possible to register Routes programatically / dynamically without using the @Route annotation?
I am looking for a way do dynamically change what routes are available.
In Vaadin 8 I was able to use a custom ViewProvider for that.

Hi,

There is an open ticket about it: https://github.com/vaadin/flow/issues/3913. So at the moment it isn’t possible.

-Pontus

Hi Markus. Please go and comment on the issue for the dynamic route configuration (mentioned by Pontus) on your specific use cases for the feature - this way we can better understand your needs and prioritize the issue according to the demand. Thanks

Thanks for the responses. I will leave a comment on the issue.