Skip to content
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.

Update PropTypes and React.createClass #193

Merged
merged 1 commit into from
Jul 20, 2017

Conversation

pietro909
Copy link
Contributor

This PR is needed to get rid of the annoying deprecation errors, preparing the codebase for the upcoming React 16:

Warning: PropTypes has been moved to a separate package. Accessing React.PropTypes is no longer supported and will be removed completely in React 16. Use the prop-types package on npm instead. (https://fb.me/migrating-from-react-proptypes)
Warning: React.createClass is no longer supported. Use a plain JavaScript class instead. If you're not yet ready to migrate, create-react-class is available on npm as a drop-in replacement. (https://fb.me/migrating-from-react-create-class)

@silentcloud silentcloud merged commit d870ce0 into dancormier:master Jul 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants