News for hackers. Stuff that matters.
Re:Konsta UI – Mobile UI Components Built with TailwindCSS by gimliapp on Friday February 24, 2023 @04:20AM (#34922645)
As much as I like Tailwind, I too does not understand the Tailwind-in-js thing for basic components likes buttons or checkboxes. Why not just create a button component in whatever framework you are using with scoped styles. This just seems like unnecessary coupling to me.
Re:Konsta UI – Mobile UI Components Built with TailwindCSS by szundi on Friday February 24, 2023 @05:28AM (#34923068)
Because this is extra work?
Re:Konsta UI – Mobile UI Components Built with TailwindCSS by gimliapp on Friday February 24, 2023 @05:38AM (#34923118)
Sure, the way I phrased it. I just think it's a bit weird to chose this "direction" for a button. No matter if you are creating something new och using something already made, like this.