Move initial state to mixin
Add flux example