Using a mixin to implement ‘shouldComponentUpdate’ strategy for components that use immutable data