react-media-mixin
A React mixin to update state in response to media query events.
npm install --save react-media-mixin
Usage
var MediaMixin = // Add some media queries.MediaMixin; // Mixin to a component.var MyComponent = React;
Requirements
Like React, react-media-mixin uses Object.keys
, which isn't supported in IE<9. es5-shim has you covered.
License
MIT