This post illustrates some new router utility functions available in developer preview since Angular v14. You’re probably familiar with the syntax: imports: [
RouterModule.forRoot([
{path: 'crisis-list', component: CrisisListComponent},
{path: 'heroes-list', component: HeroesListComponent},
])
] We can now replace that syntax with: providers: [
provideRouter([
{path…