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

Upgrade to using latest react. v15.5 or v16 #136

Open
htxiong opened this issue May 3, 2017 · 0 comments
Open

Upgrade to using latest react. v15.5 or v16 #136

htxiong opened this issue May 3, 2017 · 0 comments

Comments

@htxiong
Copy link

htxiong commented May 3, 2017

As the new react version made the following two changes

  1. Accessing PropTypes via the main React package is deprecated. and we should Use the prop-types package from npm instead.
  2. React.createClass is deprecated and will be removed in version 16.

after I upgraded to 15.5x, every time I get two warnings.

Can you guys please upgrade this lib to use:

  1. import PropTypes from prop-types lib
  2. donot use React.creatClass.

Thanks.

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

1 participant