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
"Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead" #725
Comments
That's already fixed in master and v2. Just needs to be published. |
Reference: #668 |
@k15a this should be fixed in If I look where it's coming from:
|
@rovansteen that explains a lot actually! Thanks! |
.... sooo ... you gonna fix it now? @philpl |
@jeffscottward should be fixed with the new version of babel-plugin-flow-react-proptypes in v2 RC |
It’d be great to see a new release in 1.x branch with this fix too. Could anyone please release 1.4.6? |
I'm still getting this warning. @jeffscottward How did you get around this? |
I went through the whole lib folder and replaced the Here is the folder zipped up |
@jeffscottward probably not the best idea because the new release will overwrite everything |
@jeffscottward Thank you. @williamle8300 When is the next release? |
I'm not a contributor! Just saying that editing the libs folder is gonna create more headache. Just wait till they decide to cut a release
… On May 1, 2017, at 9:11 PM, Kole Lee ***@***.***> wrote:
@jeffscottward Thank you. @williamle8300 When is the next release?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@kachkaev This should be fixed with the 1.4.6 release which has just gone out 😄 |
@williamle8300 "waiting to cut a realease" is not an option in a production environment. I would appreciate you didn't down vote people who come up with a temporary emergency fix and share it with the community. |
It is an option because builds will silence React's warning logs. Your can't feel entitled to receive work from the repo contributors unless you actually commit work to this repo. Submit a pull request or smthng...
… On May 2, 2017, at 10:35 AM, Jeff Ward ***@***.***> wrote:
@williamle8300 "waiting to cut a realease" is not an option in a production environment. I would appreciate you didn't down vote people who come up with a temporary emergency fix and share it with the community.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@jeffscottward @williamle8300 As our code of conduct states, we expect respectful conversations amongst members of our community. Please refrain from derogatory remarks. https://github.com/styled-components/styled-components/blob/master/CODE_OF_CONDUCT.md |
@philpl Edited my comment. |
I'm getting this error. I believe the warning is originating from either:
a) styled-components
b) one of its deps
I'm using
create-react-app
and my only added dep isstyled-components
. Removingstyled-components
makes the warning message go away.The text was updated successfully, but these errors were encountered: