logoalt Hacker News

othmanosxtoday at 6:00 PM0 repliesview on HN

One job doesn't really fit the button thing because a button has to do many things, only one of which is being clickable.

Having feedback when clicked, feedback when hovered. A loading state, a disabled state, a mix of everything. That's also something I found very frustrating. Like if you take the example of a button that is tied to a service on the back end, clicking this button without any visual feedback doesn't tell you if that button was clicked or not. And if it doesn't have a loading state, you wouldn't know that. something is working behind the scene when you click this button so you would click at multiple times not knowing that it's still working behind the scenes.