Ionic 4 - Reload Page when changing tabs

Hi
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 ?

tabs



<ion-tabs>
  
  <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>

    <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>

    <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>
    </ion-tab-button>

  </ion-tab-bar>

</ion-tabs>

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

no unfortunately :sob:

I found this plugin : https://www.npmjs.com/package/ion-back-button-tabs

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

you can do that using ionViewDidEnter method
use this

ionViewDidEnter(){
    //<-do your stuff here
}

for more info click ionic page life cycle events