Components are great to achieve reusability, but what if different components in different domains share the same behavior?
We do not want duplicated code in our applications and React give us a tool that we can use when we want to share functionalities across various components—mixins.
First of all, mixins work only with the createClass factory, so if you are using classes, you cannot use mixins, and that is one of the ...