Skip to content

Feature: determine current page #204

Description

@josefguenther

It would be nice to have a function like useLocation that would be able to identify the current page. Right now I have to use window.location.pathname and do some processing on it. Or is there something I'm missing?

One benefit of providing this functionality directly from generouted is built in type safety when using Typescript.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions