←back to thread

Just use a button

(gomakethings.com)
284 points moebrowne | 1 comments | | HN request time: 0.229s | source
Show context
stack_framer ◴[] No.45775290[source]
I wonder if the "React Ry–thought-leader-guy" crowd (I love this not-so-subtle reference to Ryan Florence) preferred div over button because of the built-in styles that browsers used to apply to button elements.
replies(2): >>45775663 #>>45775951 #
1. cferdinandi ◴[] No.45775951[source]
That was a big part of "thought leader guy"'s argument in favor of divs, but not the only one.