Skip to content

get current Route 'url' and 'as' info #1377

Closed
@Filipvdb321

Description

@Filipvdb321

I see that the Router has some properties: pathname, query, ....
Is it possible to expose a method to get the current 'url' and 'as' ?

That way you could for example save this in the state to navigate later to this location with Router.push(url,as);

Or is there already a better way to achieve this functionality?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions