Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70446

How to reload a page in ionic 4 using Router?

$
0
0

@rashmi1995 wrote:

Hi All, I want to reload a page after firing a event from another component using router. I tired to reload the page by below workaround

this.router.navigateByUrl('/SampleComponent', {skipLocationChange: true}).then(()=>{
    this.router.navigate([page]);
});

It is working but it is not much efficient. Do we have any other approach to reload a page?

Thanks in advance.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70446

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>