3 ms·
> When you update a referenced variable you only need to do it in 1 place. Relying on "find and replace" leads to "oops I accidentally missed one, now we have a
by boomlinde 8y ago
> When you update a referenced variable you only need to do it in 1 place. Relying on "find and replace" leads to "oops I accidentally missed one, now we have a bug that could have been totally avoided".
Isn't that the point of selecting classes in the first place? That said, I understand the utility in using it for things like individual colors, as you described.
- intertextuality 8y agoClasses do suffice if you follow the convention of "small, atom-like css classes". I personally hate this style and prefer compositional css classes for a component or a structured object.