@zachleat Honestly this fine. I can read that code. I can find what I need to edit it quickly and easily. It’s right next to the markup it is coupled to. I can predict exactly what my changes will do and what code will be affected. I can rest easy knowing I haven’t broken something somewhere else. I have this wrapped in a component for easy reuse.
@andrewfeeney how many stars out of 5 is a “this is fine” rating
@zachleat 4/5. Show me 5/5 and I’ll enthusiastically embrace it.
@zachleat Actually make that 3/5. 4/5 would be not ugly piles of classes concatenated in a string. 5/5 would be requires no external dependencies to work with (I.e. part of the web standards spec).
@andrewfeeney I agree with 3/5!