←back to thread

Just use a button

(gomakethings.com)
284 points moebrowne | 1 comments | | HN request time: 0.208s | source
Show context
andybak ◴[] No.45778050[source]
Weird side eye at htmx there?
replies(1): >>45780996 #
1. mexicocitinluez ◴[] No.45780996[source]
And React. Using divs for buttons has absolutely nothing to do with whether you're using HTMX, React, or just plain Javascript.

Maybe they're a younger developer and weren't around pre-React, but the idea that using a div instead of a button for a clickable element is somehow new or only pertinent if you're using a framework makes me think the author is confused about these things work.