-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(RouterStore): change default state key to router #1258
refactor(RouterStore): change default state key to router #1258
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The docs and example app need updating also
BREAKING CHANGE: The default state key is changed from routerReducer to router
e214dfe
to
c1f0815
Compare
docs/router-store/api.md
Outdated
@@ -1,5 +1,18 @@ | |||
# API | |||
|
|||
## StoreRouterConnectingModule.forRoot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to Configuration Options
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
docs/router-store/api.md
Outdated
@@ -1,5 +1,18 @@ | |||
# API | |||
|
|||
## StoreRouterConnectingModule.forRoot | |||
|
|||
To connect the Angular router module with the NgRx store module, import the store module via |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the function
that accepts an object. Its going to be removed from the API
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
c1f0815
to
55c6912
Compare
|
||
To connect the Angular router module with the NgRx store module, import the store module via | ||
`StoreRouterConnectingModule.forRoot()`. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happened to the description for stateKey
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm confused 😅
Like this you mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😴 I must have been looking at a partial change. 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I've recommitted. I must have done something wrong...
55c6912
to
3b12eb6
Compare
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: #1241
What is the new behavior?
Does this PR introduce a breaking change?
Other information
Closes #1241
BREAKING CHANGE:
The default state key is changed from routerReducer to router