Simple react mixin to handle media queries (with fallback for node environment)