Remix.run Logo
_heimdall 17 hours ago

Why are your buttons `a` tags?!?

Buttons should be `button` tags. Links should be `a` tags.

ryanbrunner 8 hours ago | parent | next [-]

It's common to want things that look like buttons that functionally link to a page.

This isn't really straightforward with the HTML `button` tag so `a` tags that appear like buttons are common. I'm not really proposing something out of the ordinary here, nearly every high level component library that has a built in "button" will support applying them to `a` tags and most likely have that as their primary example of a button.

quectophoton 16 hours ago | parent | prev [-]

Reading charitably, when writing that part of the comment they probably were thinking of links that look like buttons, for example the "Get started" link in Tailwind's home page.

Regardless of how that specific one looks like, I wouldn't like if it were replaced by a <button>.