2 ms·
> Different interaction paradigms call for different positioning of elements, different nesting, different density, etc. I’ve challenged this on HN before, but
by eyelidlessness 4y ago
> Different interaction paradigms call for different positioning of elements, different nesting, different density, etc.
I’ve challenged this on HN before, but I’ll take a different approach. Can you describe a scenario where these fundamentally can’t be achieved with the same markup? I’ve never encountered one, in over a decade of developing responsive apps and sites.
- grishka 4y agoFor example, in my project, I have these two layouts, desktop and mobile: https://imgur.com/a/Jj7XcCO https://imgur.com/a/Jj7XcCO They maybe can be done with the same markup, but it'd be much more work and some duplication, too. And of course it's absolutely unacceptable to redesign your UIs to make it easier to reuse markup — remember, developer experience doesn't matter if the end result is shit.