using mixins in react