Skip to content
This repository was archived by the owner on Jul 19, 2020. It is now read-only.
This repository was archived by the owner on Jul 19, 2020. It is now read-only.

Only allow route: T: Switch in Props to Anchor and Button components. #207

@hgzimmerman

Description

@hgzimmerman

Description

To make it impossible to represent a non-valid internal route, using route: T instead of link: String, state: T would be a significant improvement to the props on the RouterAnchor and RouterButton.

This obviously would be a breaking change, but ultimately makes it easier to construct valid routes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking changeThis change will result in a broken build or differing behavior in end-user crates.enhancementNew feature or requesthigh priorityIssues with this tag will be worked on before others

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions