Skip to content

Allow router.goTo to find route based on string #29

@jayalfredprufrock

Description

@jayalfredprufrock

Having to pass the actual Route component instance to router.goTo is really inconvenient. What if the router views object took an optional name (defaulting to the views object key name) for each route that could be used in router.goTo instead of passing the Route instance explicitly? This would also be handy when you need to pass a specific route via a query string.

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