Related to but not a duplicate of: How to keep query string parameters in URL when accessing a route of an Angular 2 app?
I have a very basic Angular app, and when I
if you want to retrieve query paramaters, then it is done using queryParam/queryParamMap..
this.route.queryParamMap.subscribe(params => {
console.log(params);
});
You may need to preserve the query parameters, or merge them as stated here.
https://angular.io/api/router/NavigationExtras
v4
preserveQueryParams: true
v5
queryParamsHandling: 'preserve'