I'm highly interested, can you please post a link here? Thanks!
I've come to a similar conclusion that using @media incantations only covers the basic cases, so any advanced web layout would need a mix of CSS and JS anyway (so we might as well have a solid JS toolkit help us keep things flexible and tidy).
You don't have to
if (window.is_mobile() && this.$left_thing.css('display') == 'block') {
this.$left_thing.hide();
this.$right_thing.show();
} else if (window.is_tablet() && this.$left_thing.css('display' == 'block') {
this.$left_thing.css('left','-100px');
this.$right_thing.show().css('left','0');
} else if (i_hate_my_life) ...
Because managing it in the code, through QA, and receiving the email subject line:"We're adding a new component to the application, it will only be shown like this when this thing is happening and on mobile it will be able to show here, but not here, only if this thing is shown, and since it' launches from this we'll need these things to do this."
Doesn't cause more nested if else switch case statements to further complicate the code.