2 ms·
For the record I like the authoring experience of inline styles because of the same reason you brought up :) It is slightly harder to enforce static CSS and do
by ggurgone 8y ago
For the record I like the authoring experience of inline styles because of the same reason you brought up :)
It is slightly harder to enforce static CSS and do composition but definitely doable. In fact I would like to build a CSS in JS library that is as powerful and allows static extraction. Waiting for Facebook to open source their solution first (so that I don't reinvent the wheel) https://twitter.com/sebmck/status/1036018032336822273 https://twitter.com/sebmck/status/1036018032336822273