News for hackers. Stuff that matters.
Re:Why Tailwind CSS Won by xigoi on Wednesday August 16, 2023 @05:56AM (#37144836)
Why would you use a component for something that's already a built-in HTML element?
Re:Why Tailwind CSS Won by bryanrasmussen on Wednesday August 16, 2023 @06:32AM (#37145070)
I don't know, but a consulting company saddled us with a monstrosity that does exactly this.

Maybe it's some sort of lock-in feature.

Re:Why Tailwind CSS Won by peferron on Wednesday August 16, 2023 @06:14AM (#37144956)
Why would you style an anchor element when your browser already has default styles for it?
Re:Why Tailwind CSS Won by xigoi on Wednesday August 16, 2023 @06:30AM (#37145056)
Because you want it to look different, such as the color being consistent with the rest of your website?
Re:Why Tailwind CSS Won by seedboot on Wednesday August 16, 2023 @06:50AM (#37145188)
One example is if I was using react it would be used to encapsulate a react-router Link and an anchor tag in a component, and use props to differentiate between inbound and outbound links.