|
|
|
|
|
by crossman
3994 days ago
|
|
I wrote a small utility for using mixins with my React components. I've been finding it really useful. The notes assume you're using ES7 decorators. But you could easily use it with ES5/6 syntax by treating it as a normal function and just passing your class to it. https://www.npmjs.com/package/mixin-decorator edit: a link would be helpful, right? |
|