@maxhodges ugh, bummer.
In my case I’m using
device-detection to choose templates specifically designed for certain screen sizes, since the UX design may be completely different on a mobile device, requiring different events and template helpers, and often a very different page structure.
I might be able to do it exclusively using responsive css (i.e. media queries) but… it’s so much easier and cleaner (and easier to read and understand) to just do
etc. I guess the responsive equivalent is just two big container divs that are chosen to display or not based on media queries, but then you’re forcing the browser to load both “templates” even though one is going to be completely ignored.
I still feel like I’m missing something here, it feels inelegant to use both
device-detection and media queries, and now
device-detection is not being maintained. Is there another way?