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

PropTypes issue #6

Open
lakinen opened this issue Jul 1, 2017 · 1 comment
Open

PropTypes issue #6

lakinen opened this issue Jul 1, 2017 · 1 comment

Comments

@lakinen
Copy link

lakinen commented Jul 1, 2017

I have an issue during initial setting up during following of the course.

Namely, I have an error as soon as I start using Apollo client:
Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.

I have tried to install prop-types and import them inside of SongList.js. Even due I'm not using anywhere React.PropTypes

Probably my problem is lying down inside of some already used library, but I cannot see exactly where, since webpack has been used and all errors are pointing to the bundle.js

If somebody can support it will be useful.

@nbkhope
Copy link

nbkhope commented Nov 29, 2017

That is not an error; it is a warning. Yes, you are right -- some library might still be using prop-types the old way. That warning would likely be resolved in newer versions of the library that's using it (assuming they would care to update their code).

For the time being, you should not worry about that. It is not your problem.

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

2 participants