I am calling router.navigate on same page with some query string parameters. In this case, ngOnInit() does not call. Is it by default or do I need
router.navigate
ngOnInit()
When you want to router navigate on the same page and want to call ngOnInit(), so you do like that e.g,
this.router.navigate(['category/list', category]) .then(() => window.location.reload());