6 Commits

Author SHA1 Message Date
Ward Oosterlijnck
a57fb0325e Isomorphic useMedia 2019-07-16 19:07:39 +10:00
Matt Leonowicz
eeb55e4927
useMedia - initialize state with call to media query
Initializing state with result from call to window.matchMedia avoids possible initial flicker of returned value, when media query matched initially
2019-07-11 15:19:17 +02:00
Ankith Konda
f02b92d423 Add TSLint + Prettier and fix lint issues 2019-04-12 23:18:11 +10:00
streamich
cdc5ec596d refactor: 💡 use import hooks from React proper 2018-12-16 11:02:52 +01:00
streamich
e1cc9abddb feat: 🎸 add useMedia hook 2018-10-27 10:23:30 +02:00
streamich
10ac91affd chore: 🤖 add ability to run demo 2018-10-26 23:44:36 +02:00