Skip to content

Warning: <DefaultRoute> may not have a "path" prop #886

@micahlmartin

Description

@micahlmartin

This confused me for a bit. I thought it was saying that it's possible that the path prop is not set on DefaultRoute, but in reality it means DefaultRoute SHOULD NOT HAVE a path prop. It's a minor tweak in language but definitely clears it up. I'm happy to submit a PR, but I can't seem to find where that comes from. Is it actually buried in React somwhere?

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