I know how to use additional parameters for the router, for example:
this._router.navigate(['/users', { page: 2 }]);
will lead to navigation to /users;page=2.
What I would like to do is to be able to change these parameters without actually navigating. Just change the url to update / add parameters.
This can be useful, for example, when displaying a table, and the user changes the sort key or adds a filter.
source
share