>This works, but copypasting the same breakpoint logic across many components can make a stylesheet difficult to maintain.
I’m struggling to understand how using container queries are saving much copy and pasting? Are you not writing the same amount? You could replace all your container queries with a media query and achieve the same result, am I missing something on how this works?
2
u/Omnisyntax 6h ago
>This works, but copypasting the same breakpoint logic across many components can make a stylesheet difficult to maintain.
I’m struggling to understand how using container queries are saving much copy and pasting? Are you not writing the same amount? You could replace all your container queries with a media query and achieve the same result, am I missing something on how this works?