SyntaxFix
Write A Post
Hire A Developer
Questions
{path: 'users', redirectTo: 'users/', pathMatch: 'full'}, {path: 'users/:userId', component: UserComponent}
This way the component isn't re-rendered when the parameter is added.