6 ms·
Actually you don't need to use React.createClass to use mixins, there is https://www.npmjs.com/package/react-mixin https://www.npmjs.com/package/react-mixin whi
by oinksoft 11y ago
Actually you don't need to use React.createClass to use mixins, there is https://www.npmjs.com/package/react-mixin https://www.npmjs.com/package/react-mixin which implements them via decorators. Either I wouldn't consider inheritance and mixins interchangeable.