2 ms·
I really hate this style. I think the solution is using elements/components as the means of sharing styles. If you need a slightly different style you extend a
by cphoover 8y ago
I really hate this style.
I think the solution is using elements/components as the means of sharing styles. If you need a slightly different style you extend and modify an existing component. This can be achieved using libraries like `styled-jsx`, `styled-components`. Or hopefully as the shadow-dom spec progresses this will take care of this issue. I also think doing a way with the `scoped` attribute on the style tag was a dumb idea. As it made compartmentalization way easier.