Simplifying the usage of the store by providing a mixin containing
some life cycle methods for the component