Skip to content

Can URL params be matched? #12

@YM-KA

Description

@YM-KA

Can URL params be matched to a specific route?

I would like something like
export const ManageAccountLocation = new Location('/auth/action')
export const ManageAccountLocationLink = new Location('/auth/action?mode=:mode', {mode: str.required()})

for the below link to generate a unique route separate from /auth/action
http://127.0.0.1:8080/auth/action?mode=resetPassword

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