摘要: 把组件放在另外一个组件的 render 方法里面, 并且利用了 {...this.props} {...this.state} 这些 JSX 展开属性 对比下2种代码: 原始方式: 高阶组件调用: 参考地址: 传递 Props Mixins Are Dead. Long Live Compositi 阅读全文
posted @ 2017-04-03 13:47 zhengming 阅读(261) 评论(0) 推荐(0) 编辑