3 ms·
It sounds like you almost saw that there are trade offs involved in the two different approaches. But then just went for pejorative terms a bit more. There are
by LeonB 6y ago
It sounds like you almost saw that there are trade offs involved in the two different approaches. But then just went for pejorative terms a bit more.
There are some scenarios where total control of the style is an important part of the thing being built.
I’m closing the browser now. I do appreciate the many constructive parts of what you’ve said. The preaching about what’s “wrong” I can skip. Like there’s some grand moral imperative not to connect a click handler to a div. Spare me!
- rado 6y agoThe click handler won't work with keyboard and who knows what else, which means broken accessibility, This is actually a moral issue (you shouldn't decide which people to exclude), as well as legal in some territories. And the button can be styles pixel perfect easily, as explained above.