A mixin in the component specification is an array. A mixin can share the lifecycle events of your component and you can be assured that the functionality will execute during the proper time during the component’s lifecycle.
Starting point for creating JSFiddles with React. This uses React with Addons.