Updated 16th October 2016 with Stamps v3! Yey!
Object and functional mixins are the simplest approach to object composition. Together with
Object.assign they make super easy to create small units of reusable behavior and augment your domain objects with them.
Traits continue the tradition of composability of mixins adding an extra layer of expressiveness and safety on top. They let you define required properties, resolve naming conflicts and they warn you whenever you’ve failed to compose your traits properly.