I'm making an agular app which load data from an API, and when I go to another route and go back to table route the data is not there.
Is there some way to change route and not losing data?
<button [routerLink]="['/home']">
<i class="bx bx-left-arrow-alt" id="icone"></i>
</button>
Now I'm just using a routerLink to change routes.
And I'm using angular 15.