ReNavigate to pages that existed on stack


#1

I have 2 page and 1 button on each page.
For example I clicked on btn1 on page A then navigate to page B. In page B when I click on btn 1(for navigate to A) page A reconstruct (but it exists on stack!!
With back navigation we don’t have this problem and cached page loaded.
How can I handle this issue?
how can I prevent reconstruction when navigate to page that loaded before and existed on stack.

Is ther any way to access cached pages when using <page-router-outlet/> ?

Page A

btn 1 (navigate to B) this.router.navigate(["/pageB"]);

Page B

btn 1 (navigate to A ) this.router.navigate(["/pageA"]);