Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warning on Route 'Path' Prop #13

Open
abury opened this issue Sep 16, 2016 · 0 comments
Open

Deprecation warning on Route 'Path' Prop #13

abury opened this issue Sep 16, 2016 · 0 comments

Comments

@abury
Copy link

abury commented Sep 16, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant