ReactJs 我可以在一个组件中使用多个 mixin

ReactJs can I use more than one mixin in a component

我可以在一个 React 组件中使用多个 mixin 吗?

像这样:

var GeneralMessagePage = React.createClass({

mixins: [oneMixin],[anotherMixin]

非常感谢

正确的语法是:

mixins: [oneMixin, anotherMixin,...]