Skip to content

Deprecate/remove withRouter? #5345

Closed
Closed
@mjackson

Description

@mjackson

I'm trying to think of anything you can do using withRouter that you can't just do with a <Route render>, but I'm coming up short. I mean, just look at the implementation for goodness sake. It's implemented using <Route render>!

Would it be too much to ask people to replace all their uses of withRouter with <Route render>?

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