Skip to content

originRoute in route result #164

@inZaCz

Description

@inZaCz

Is your feature request related to a problem? Please describe.
Hooks are pretty powerfull, but still limited. On main (top level router) we use global pre hooks to check availability of some pages. but in the time of prehook, window.location.hash is already change and we do not have access to hash it originate from. So if we decline in pre hook the transition we will stay on old page with new HASH.

Describe the solution you'd like
It would by nice if in route result we can see origin hash.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions