I am setting dynamic queryparams when navigating to a different route.
this.router.navigate(["/listing/list"], {
queryParams: queryParams,
skipLocationChange: true
});
history.pushState(queryParams, "", "/listing/list");
And as I don't want the user to know query params I am using skipLocationChange and manually change the history using history.pushstate. Now I am able to receive the params when back clicked and returned back to the same page using browser back/forward buttons from popstate event. But parameter state is erased reloaded. Is there a way to persist query params while reloading the browser?