A React mixin for giving components loading behavior