You can now use paramMap to get the route- and query-parameter from a related route.

The old way

    class MyComponent {
sessionId: Observable<string>;

constructor(private route: ActivatedRoute) {}

ngOnInit() {
this.sessionId = this.route
.queryParams
.map(params => params['session_id'] || 'None');
}
}

The new way

    class MyComponent {
sessionId: Observable<string>;

constructor(private route: ActivatedRoute) {}

ngOnInit() {
this.sessionId = this.route
.queryParamMap
.map(paramMap => paramMap.get('session_id') || 'None');
}
}

Are there any advantages?
Yes, now we are type-safe! The old structure had an unsecure type (type params = {[key: string]: any}) and the value could have all possible types. The new way provides either a string, or an array of strings related to the used method (paramMap.get(): string and paramMap.getAll(): string[])