Skip to content
This repository has been archived by the owner on Jan 30, 2019. It is now read-only.

PropTypes Deprecation Warning #16

Closed
McPo opened this issue Apr 27, 2017 · 2 comments
Closed

PropTypes Deprecation Warning #16

McPo opened this issue Apr 27, 2017 · 2 comments
Assignees

Comments

@McPo
Copy link

McPo commented Apr 27, 2017

The following warning is printed when used with [email protected], however it still works fine but would be good to get it removed.

This was caused by proptypes being removed from the React core package https://facebook.github.io/react/docs/typechecking-with-proptypes.html.

...../node_modules/fbjs/lib/warning.js:36 Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types p

@kallaspriit
Copy link
Contributor

Created a pull request. Tested on my site from my repo and seems to work well :)
#17

@kallaspriit
Copy link
Contributor

Can You please merge the pull request?

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

No branches or pull requests

3 participants