Skip to content

Allow <Link to> to be a function #3657

@taion

Description

@taion

Maybe a little QoL, thing... it'd let people do e.g.

<Link to={location => ({ ...location, query: newQuery })>

without having to worry about having location on context or wrapping the <Link>'s parent with withRouter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestUsed to close PRs that haven't gone through/been accepted the Proposal process yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions