Posts by Hoch • 97 points
1 post
-
-3
votes3
answers45
viewsA: I can’t get the "id" parameter of the URL in Angular 12 using Activatedroute?
It’s because queryParams refers to query strings, so you can pick up when it’s ?id=1 to pick up the way you want, you must use this.route.params