@@ -34,11 +34,11 @@ export declare type RouterNavigationAction<T = RouterStateSnapshot> = {
3434};
3535```
3636
37- * Reducers receive this action, throwing an error in the reducer cancels navigation.
38- * Effects can listen for this action.
39- * The ` ROUTER_CANCEL ` action represents a guard canceling navigation.
40- * A ` ROUTER_ERROR ` action represents a navigation error .
41- * ` ROUTER_CANCEL ` and ` ROUTER_ERROR ` contain the store state before the navigation. Use the previous state to restore the consistency of the store.
37+ - Reducers receive this action, throwing an error in the reducer cancels navigation.
38+ - Effects can listen for this action.
39+ - The ` ROUTER_CANCEL ` action represents a guard canceling navigation.
40+ - A ` ROUTER_ERROR ` action represents a navigation error .
41+ - ` ROUTER_CANCEL ` and ` ROUTER_ERROR ` contain the store state before the navigation. Use the previous state to restore the consistency of the store.
4242
4343## Setup
4444
@@ -56,9 +56,7 @@ import { AppComponent } from './app.component';
5656 // routes
5757 ]),
5858 // Connects RouterModule with StoreModule
59- StoreRouterConnectingModule .forRoot ({
60- stateKey: ' router' , // name of reducer key
61- }),
59+ StoreRouterConnectingModule .forRoot (),
6260 ],
6361 bootstrap: [AppComponent ],
6462})
@@ -67,6 +65,7 @@ export class AppModule {}
6765
6866## API Documentation
6967
70- * [ Navigation actions] ( ./api.md#navigation-actions )
71- * [ Effects] ( ./api.md#effects )
72- * [ Custom Router State Serializer] ( ./api.md#custom-router-state-serializer )
68+ - [ Configuration Options] ( ./api.md#configuration-options )
69+ - [ Navigation actions] ( ./api.md#navigation-actions )
70+ - [ Effects] ( ./api.md#effects )
71+ - [ Custom Router State Serializer] ( ./api.md#custom-router-state-serializer )
0 commit comments