You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: projects/ngrx.io/content/guide/router-store/selectors.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
# Router selectors
2
2
3
-
The `getSelectors` method supplied within `@ngrx/router-store` provides functions for selecting common information from the router state.
3
+
The `getRouterSelectors` method supplied within `@ngrx/router-store` provides functions for selecting common information from the router state.
4
4
5
-
The default behavior of `getSelectors` selects the router state for the `router` state key.
6
-
If the default router state config is overwritten with a different router state key, the `getSelectors` method takes a selector function to select the piece of state where the router state is being stored.
5
+
The default behavior of `getRouterSelectors` selects the router state for the `router` state key.
6
+
If the default router state config is overwritten with a different router state key, the `getRouterSelectors` method takes a selector function to select the piece of state where the router state is being stored.
7
7
The example below shows how to provide a selector for the top level `router` key in your state object.
8
8
9
-
**Note:** The `getSelectors` method works with the `routerReducer` provided by `@ngrx/router-store`. If you use a [custom serializer](guide/router-store/configuration#custom-router-state-serializer), you'll need to provide your own selectors.
9
+
**Note:** The `getRouterSelectors` method works with the `routerReducer` provided by `@ngrx/router-store`. If you use a [custom serializer](guide/router-store/configuration#custom-router-state-serializer), you'll need to provide your own selectors.
0 commit comments