yoast-components icon indicating copy to clipboard operation
yoast-components copied to clipboard

Adjust components for the new react PropTypes package/syntax

Open afercia opened this issue 8 years ago • 3 comments

As done for other components in other projects, also the yoast-components should be adjusted for the new PropTypes package and syntax.

Re: the onboarding wizard: there's an additional warning related to React.creaateClass:

LocalizedStepIndicator: React.createClass is deprecated and will be removed in version 16. Use plain JavaScript classes instead. If you're not yet ready to migrate, create-react-class is available on npm as a drop-in replacement.

afercia avatar Jun 26 '17 08:06 afercia

The PropTypes issue is addressed in pr #153. Will look into React.createClass issue.

abotteram avatar Jul 13 '17 09:07 abotteram

The createClass issues is also addressed in pr #153.

abotteram avatar Jul 13 '17 12:07 abotteram

@Xyfi I think this can be closed now, right?

afercia avatar Sep 08 '17 10:09 afercia