clayallsopp / react.backbone

Plugin for React to make Backbone migration easier
MIT License
839 stars 60 forks source link

createClass() will be removed from React #54

Closed showmeyourhits closed 6 years ago

showmeyourhits commented 7 years ago

Howdy,

createClass() will be removed from React in 16 version. Are you going to update your lib?

kyllle commented 7 years ago

@clayallsopp do you plan to upgrade this plugin to support React v16 or should we be making efforts to create-react-class as advised by in the console warnings?

Cheers Kyle

markijbema commented 6 years ago

If anyone makes a PR, I will review it and publish the package. @clayallsopp nor me is currently actively developing the package

showmeyourhits commented 6 years ago

Ok i'll try, but since React no longer supporting mixins, update will have breaking changes: package function will be used as HOC.

class YourComponent extends React.Component {...}

connectToBackbone(YourComponent, options);