0.0.5 • Published 6 years ago

react-legacy-mixin v0.0.5

Weekly downloads
6
License
ISC
Repository
-
Last release
6 years ago

React Legacy Mixin

This will let you use mixins with react classes.

It also autobinds any functions inside the react class.

Just include the function inside your class constructor..

import mixins from 'react-legacy-mixin';

export default class extends React.Component {
    constructor(props) {
        super(props);

        mixins(this, Mixin1, Mixin2);
    }
}
0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago