News for hackers. Stuff that matters.
Re:Just Use a Button by marcosdumay on Friday October 31, 2025 @03:26PM (#45775744)
Every input should have a type. It's a good thing to put in a linter and run before you consider your code complete.

Yes, the default is bad, but you should be overriding every one of those anyway.

Re:Just Use a Button by phatskat on Sunday November 02, 2025 @03:05PM (#45792966)
> but you should be overriding every one of those anyway.

I’m gonna be a bit of a pedant here, but button has 15 attributes. I feel like overriding every attribute on every element (or even just form controls) would make the people who complain about Tailwind classes being too verbose have an aneurysm