Lyrical-GraphQL icon indicating copy to clipboard operation
Lyrical-GraphQL copied to clipboard

PropTypes issue

Open lakinen opened this issue 8 years ago • 1 comments

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.

lakinen avatar Jul 01 '17 10:07 lakinen

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.

nbkhope avatar Nov 29 '17 02:11 nbkhope