3 ms·
I could see the point in attribute selectors - when using react I find it messy to programmatically specify class names based on state/props, particularly when
by wilsonrocks 6y ago
I could see the point in attribute selectors - when using react I find it messy to programmatically specify class names based on state/props, particularly when using BEM.
Setting some Booleans as attributes is much nicer. However, it is built into CSS already, so not sure a library would help...