React.js component class mixin