6 ms·
hmm... where to start? - Variables cascade and cause restyle of whole sub-tree. - Attributes often are already on the html element, e.g. title, aria, data
by Inviz 1y ago
hmm... where to start?
- Variables cascade and cause restyle of whole sub-tree.
- Attributes often are already on the html element, e.g. title, aria, data attributes, so dont need inline styles
- Not mixing data with presentation
Just to name a few
- chrisandchris 1y agoBut if you‘re defining the style within the data (the width within the HTML as data attribute), aren‘t you actually mixing presentation with data?