I have a React component written in Typescript 2.0.6 + JSX (TSX) that needs to make use of the LinkedStateMixin. How do I include the mixin in my class definition? I have searched the official documentation without success. Is there a way to include a mixin in my component class?
Note: I'm using ReactJS v0.14.6
Unfortunately, React has officially moved away from the mixin pattern: https://facebook.github.io/react/blog/2016/07/13/mixins-considered-harmful.html. You can still use them if you're not using ES6 style react components. However, if you really need it, you could use this library: https://github.com/brigand/react-mixin