flow
flow copied to clipboard
Dynamically enable PreserveOnRefresh on Routes
Describe your motivation
I would like to decide during runtime if a route should be preserved on refresh. Currently this is only possible by placing the PreserveOnRefresh Annotation.
Describe the solution you'd like
I would like to set this in RouteConfiguration
Describe alternatives you've considered
I tried to use diffrent Components and enabled them based on Spring profiles. But that doesnt work well at all.