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

Accessing PropTypes via the main React package is deprecated. #1

Closed
namwkim opened this issue May 12, 2017 · 2 comments
Closed

Accessing PropTypes via the main React package is deprecated. #1

namwkim opened this issue May 12, 2017 · 2 comments

Comments

@namwkim
Copy link

namwkim commented May 12, 2017

Thanks for the wonderful and elegant package.

For your information, the following is a warning I received. I think it is not critical at this point, but it would be nice to be resolved in the future.

"module.js:362 Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead."

@MilllerTime
Copy link
Owner

Happy it works for you!

Thanks for bringing this up. I just upgraded a project to React 15.5 and started noticing this myself. You're right that it's not critical, however if you're like me then you don't want to see any warnings 🙂

Expect an update shortly!

@MilllerTime
Copy link
Owner

I just pushed out a new release that should resolve this.

Just a heads up, it's a major version bump since it now requires React ^15.5.0 as a peer dependency.

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