Ionic 4 - Reload Page when changing tabs

in ionic 4 when changing tabs the destination tab reload again
Example : when from tab1 going tab2 then going back tab1 ,the tab1 reload again

note: i use resolver

how fix that ?


  <ion-tab-bar slot="bottom">

    <ion-tab-button tab="home">
    <ion-icon name="home"></ion-icon>
    <ion-label>{{ 'Home' | translate }}</ion-label>
    <ion-router-outlet name="home"></ion-router-outlet>

    <ion-tab-button tab="search">
      <ion-icon name="search"></ion-icon>
      <ion-label>{{ 'Search' | translate }}</ion-label>
      <ion-router-outlet name="search"></ion-router-outlet>

    <ion-tab-button tab="profile">
      <ion-icon name="person"></ion-icon>
      <ion-label>{{ 'profile' | translate }}</ion-label>
      <ion-router-outlet name="profile"></ion-router-outlet>



I have the same problem … Do you find an answer ?

no unfortunately :sob:

I found this plugin :

But i don’t know if i use it correctly because it doesn’t work…

you can do that using ionViewDidEnter method
use this

    //<-do your stuff here

for more info click ionic page life cycle events