angular-redux / router

Keep your Angular2+ router state in Redux
MIT License
28 stars 7 forks source link

v7 release - Angular v5 Support #24

Closed e-schultz closed 6 years ago

e-schultz commented 6 years ago

Breaking Change

before

@NgModule({
          declarations: [AppComponent],
            imports: [
                RouterModule.forRoot(appRoutes),
                /* .... */
                NgReduxRouterModule  ],
                  bootstrap: [AppComponent]
                  })
export class AppModule {}

after

@NgModule({
          declarations: [AppComponent],
            imports: [
                RouterModule.forRoot(appRoutes),
                /* .... */
                NgReduxRouterModule.forRoot()
              ],
                bootstrap: [AppComponent]
                })
export class AppModule {}