ReactTraining / react-media

CSS media queries for React

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Which browsers are supported?

devinrhode2 opened this issue · comments

I can't find anything in the readme or issues mentioning anything about which browsers are supported.

I see react-responsive supports IE6+*, but I know react-media uses matchMedia for matching css queries in js - I know matchMedia is supported for IE10 and up. Does react-media simply work wherever matchMedia is defined?

FWIW I only need IE11+ support :)

Yeah, we definitely require window.matchMedia. As far as I know, we don't "officially" support any specific browsers, but the source code is really not too complex. So if you find any cross browser bugs, please do let us know 😄