4 ms·
Sure in this "extreme" I'll agree, it was just an experiment after all (I do think both the short-hand classes and attributes look wrong). Do you think the same
by franciscop 6y ago
Sure in this "extreme" I'll agree, it was just an experiment after all (I do think both the short-hand classes and attributes look wrong). Do you think the same about either of these?
<Button color="red">Hello</Button>
<Button red>Hello</Button>
- natural219 6y agoI dislike both of these :). Just leave the styling layer to itself.
- bcrosby95 6y agoWhat does red apply to? The button color? The text color? Both (sounds useless)? If you told me a button were red, I would assume the button is red and any decoration on it (e.g. text) isn't. Not sure if that's what happens here.