0

What is the better approach to capture Capture query parameters from the Angular active route?

this.activeRoute.snapshot.queryParams

VS 

this.route.queryParams.subscribe(params => {
  this.queryParams = params;
});
Pramatha
  • 19
  • 6

0 Answers0