newforms icon indicating copy to clipboard operation
newforms copied to clipboard

Upgrade to using latest react. v15.5 or v16

Open htxiong opened this issue 7 years ago • 0 comments

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.

htxiong avatar May 03 '17 05:05 htxiong