Skip to content

Deprecation warning on Route 'Path' Prop #13

@abury

Description

@abury

Hey, mate. Loving the book so far. I'm learning heaps!

I'm running into a deprecation warning with the routes project. Although it works well enough, I'm concerned about implementation projects in this way if it's going to break in a future release.

I'm getting 9+ 'warnings' (logged as errors in the console) that say something along the following:

You are manually calling a React.PropTypes validation function for the `path` prop on `Route`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.

I've double and triple-checked the code and it's valid (and functioning correctly) but no matter what I can't fix these errors, OR find out anything about them online :(

Any thoughts?

Thanks mate,

Aron

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions