jquense / uncontrollable

Wrap a controlled react component, to allow specific prop/handler pairs to be uncontrolled
MIT License
199 stars 33 forks source link

Replace React.createClass #21

Closed jochenberger closed 7 years ago

jochenberger commented 7 years ago

React 15.5 (RC) shows a warning: Warning: Uncontrolled(Dropdown): 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.

jquense commented 7 years ago

PR welcome

jochenberger commented 7 years ago

with extends or with create-react-class?

ingro commented 7 years ago

@jochenberger since this library use mixins I guess with create-react-class

jquense commented 7 years ago

I'd be OK with either but we should probably refactor to use plain classes, to avoid extra bytes

jochenberger commented 7 years ago

Closing in favor of #22