Open
Description
What problem does this feature solve?
It looks a little awkward if there are duplicate class names in a DOM element.
What does the proposed API look like?
If you look into this fiddle.
The div
element of foo
component will have two bar
classes in it. So it looks like.
<div class="bar bar"></div>
If the two classes would have been merged into one.
<div class="bar"></div>
It would have worked and behaved exactly in the same way but the code will look a lot cleaner.