3 ms·
If you're interested, I wrote a short blog post recently with some very similar thoughts on the role of classes vs inline CSS in the component paradigm. https:
by davnicwil 8y ago
If you're interested, I wrote a short blog post recently with some very similar thoughts on the role of classes vs inline CSS in the component paradigm.
https://medium.com/@davnicwil/how-i-learned-to-stop-worrying-and-love-inline-css-74d152abedf5 https://medium.com/@davnicwil/how-i-learned-to-stop-worrying...
Tldr: for me, classes make more sense for reuse in simpler content-heavy scenarios. For anything remotely complex or webapp-like, I think they are the wrong abstraction.