项目作者: maolion

项目描述 :
用于实现在 react component class(es6风格) 使用 react mixins 特性的类装饰器
高级语言: TypeScript
项目地址: git://github.com/maolion/react-mixins-decorator.git


NPM Package
Build Status

React Mixins Decorator

用于实现在 react component class(es6风格) 使用 react mixins 特性的类装饰器

版本更新提示

  • 0.1.x

    组件被实现

安装

  1. npm install react-mixins-decorator --save

使用

  1. import { Component } from 'react';
  2. import reactMixins from 'react-mixins-decorator';
  3. @reactMixins([MixinTargetA, MixinTargetB, MixinTargetC, ....])
  4. class TargetComponent extends Component {
  5. ....
  6. }