Repository navigation
Conversation
|
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored by someone other than the pull request submitter. We need to confirm that they're okay with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the |
…cessful Closes angular#13491 Closes angular#13545 Closes angular#13574
|
I believe it also fixes #12438 |
| this._platformLocation.onPopState(fn); | ||
| this._platformLocation.onHashChange(fn); | ||
| } | ||
| onPopState(fn: LocationChangeListener): void { this._platformLocation.onPopState(fn); } |
There was a problem hiding this comment.
I think it should be this._platformLocation.onHashChange(fn); in HashLocationStarategy and this._platformLocation.onPopState(fn); in PathLocationStrategy
There was a problem hiding this comment.
@DzmitryShylovich what are the reasons you think so ?
There was a problem hiding this comment.
- Readability
HashLocationStarategy-onHashChange. - PopState is a part of History api, so I think
HashChangehas a better support across old/mobile browsers (there're some existing issues related to mobile ie and history api, for example).
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Supersedes #13545 by also fixing the
PathLocationStrategy./cc @vsavkin
@chuckjaz please do NOT use GH to merge this one (for attribution)
Closes #13491
Closes #13545
Closes #13574