@@ -34,11 +34,11 @@ export declare type RouterNavigationAction<T = RouterStateSnapshot> = {
34
34
};
35
35
```
36
36
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.
42
42
43
43
## Setup
44
44
@@ -56,9 +56,7 @@ import { AppComponent } from './app.component';
56
56
// routes
57
57
]),
58
58
// Connects RouterModule with StoreModule
59
- StoreRouterConnectingModule .forRoot ({
60
- stateKey: ' router' , // name of reducer key
61
- }),
59
+ StoreRouterConnectingModule .forRoot (),
62
60
],
63
61
bootstrap: [AppComponent ],
64
62
})
@@ -67,6 +65,7 @@ export class AppModule {}
67
65
68
66
## API Documentation
69
67
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