Skip to content

Allow <Link> to omit active params. #89

@machty

Description

@machty

Presently you have to provide every single param for a target route within Link, but particularly when you're writing links inside deeply nested routes, this becomes needlessly repetitive as you start having to repeat the params of already-active parent routes, and to my understanding (and per convos w @rpflorence) I don't think the argument for refactorability applies in this case.

So why don't we default omitted params to whatever's in props.params rather than error out?

Metadata

Metadata

Assignees

No one assigned

    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