Hacker News new | past | comments | ask | show | jobs | submit login

I don't even use media queries anymore. I detect if mobile and use conditional styling in my components. Way less headache.



In my experience, reactive media queries require less long-term maintenance. Anytime there's a strange re-sizing side-effect, it's someone using an isMobile flag.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: