I’m having a weird issue with our PWA, where’s the app is initially loading the wrong page, before loading the correct one specified from the URL (http://localhost:8100/#/groups).
I’m defining links
in our IonicModule.forRoot
like:
[
{ component: PersonListPage, segment: 'people'},
{ component: GroupListPage, segment: 'groups'},
...
]
It seems random but it always loads the 18th segment in the list, seems bazaar right? If I re-arrange the items, it still loads the 18th segment.
I thought maybe it could be related to priority, although we have preloadModules
set to false
.
I’ve added null
checks to each page to ensure parameters are set so it doesn’t thrown an exception, although it still flashes that first page before loading the correct page.
Any thoughts or suggestions on what could be causing this issue?