I don’t understand how you’re supposed to work with lazy-loaded pages. I have a
PreferencesPage that is opened only every few weeks by most users. Seems like an ideal candidate for lazy-loading. Thing is: If they somehow bookmark the deep-linked URL (
example.org/#/preferences) and use this as an entry point, the app starts without the correct rootPage / navigation stack.
PreferencePage is opened as a modal. When someone enters this page through the deep-linked URL, the first thing they do is dismiss it. This results in
Uncaught (in promise): navigation stack needs at least one root page
So the question is: How is this supposed to work?