//app-routing.module.ts
{
path: '',
loadChildren: './views/full/full.module#FullPageModule',
canActivateChild: [AuthGuardService]
},
//full.module.ts
{
path: '',
redirectTo: 'home',
pathMatch: 'full'
},
{
path: 'home',
component: FullPage,
loadChildren: './home/home.module#HomePageModule'
},
{
path: 'invoice',
component: FullPage,
loadChildren: './invoice/invoice.module#InvoicePageModule'
},
{
path: 'client',
component: FullPage,
loadChildren: './client/client.module#ClientPageModule'
},
when changing tabs, i am experiencing flickering of the whole page, rather than just loading the child page, i am not experiencing when using angular, just here in ionic.
i have 2 ion-router-outlet, one has main attribute
EDIT: it seems like a problem of RouteReuseStrategy
when using IonicRouteStrategy
. (removing this line fixed it) any side effect of this?
EDIT EDIT: https://github.com/alainbelez/ionic-starter i have created a github repo