I just noticed that whenever using the programmatic routing the layout of the content changes unexpectedly.
My App uses a menu that has multiple entries. On click of an entry the app navigates programmatically with:
Using the href attribute does not cause a change in the layout but it effectively reloads the page which is not a desired action.
Is there a way to prevent this layout change?