Posts by Danilo Torchio • 101 points
1 post
-
0
votes1
answer110
viewsA: How to reload an Angularcomponent when I navigate to the same route?
Instead of subscribing to the navigation events of the router, you can subscribe to get the modifications of the URL parameters. In ngOnInit, you can, for example, do it this way:…