you can use
route.routerState.params
You can subscribe because when your application goes to the same route with only a different parameter value, the component does not recreate, and you cannot find out when the parameters have changes.
When you subscribe to the parameters that you receive, a notification that a route has occurred, where only the parameter value has changed.
source share