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
{{ message }}
Repository navigation
Router: Deprecate or remove navigationId in history.state #27607
Currently the navigationId is stores in history.state. But with #27198 users can now set data into history.state. If the developer were to set a navigationId property it would get clobbered by Angular's setting of the same field.
We would like to deprecate (or maybe just remove since we never put it in the public API) the navigationId and add another data structure inside history.state that can be specific to Angular. This way, when we want to add more data to history.state, we have an object key under which we can do so. One idea is to add the scroll position to history.state rather than storing it in the router. This would allow us to preserve scroll position through hard browser refreshes.
FW-771
Reacted by Bal Krishna Jha, Dmytro Demensky and Hristo Kostov
changed the title [-]Router: Deprecate `navigationId` in `history.state`[/-][+]Router: Deprecate or remove `navigationId` in `history.state`[/+]on Dec 11, 2018
Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.
We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.
You can find more details about the feature request process in our documentation.
Activity
[-]Router: Deprecate `navigationId` in `history.state`[/-][+]Router: Deprecate or remove `navigationId` in `history.state`[/+]angular-robot commentedon Jun 4, 2021
Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.
Find more details about Angular's feature request process in our documentation.
angular-robot commentedon Jun 27, 2021
Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.
We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.
You can find more details about the feature request process in our documentation.
angular-automatic-lock-bot commentedon Mar 4, 2022
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.