Same component into ion-tab without reload data


#1

Hey,
I’m using ion-tabs, and in my ion tabs i use the same component with the same data like a header.
That’s my code to explain my issue

<ion-content>
<my-component><my-component>
  <ion-tabs>
    <ion-tab [root]="tab1Root" [rootParams]="idUser" tabTitle="title" tabIcon="home">
    </ion-tab>
    <ion-tab [root]="tab2Root" [rootParams]="idUser" tabTitle="title" tabIcon="heart">
    </ion-tab>
  </ion-tabs>
</ion-content>

I don’t want to reload data in each tab, so my question is How is it possible to use the same components in every tab without reloading data and calling the api ?
Sorry for my English
Thank you