News for hackers. Stuff that matters.
Re:Customizable HTML Select by troupo on Thursday February 20, 2025 @07:33PM (#43122571)
> Where is the native HTML

14 years have been wasted on making web components happen, and they still offer... nothing really, and people already advise to skip large portions of their specs (Shadow DOM) even if you adopt them.

Imagine if the literally millions of dollars spent of them were spent on something like https://open-ui.org/ (started by Microsoft of all companies and now also completely overrun by Googlers)

Re:Customizable HTML Select by JodieBenitez on Friday February 21, 2025 @02:26AM (#43124986)
I find web components very useful. Yes, I avoid shadow DOM as it only makes things more complicated for me, but having bits of functionality grouped in a new tag is great.
Re:Customizable HTML Select by troupo on Friday February 21, 2025 @07:30PM (#43134841)
Re:Customizable HTML Select by JodieBenitez on Saturday February 22, 2025 @02:21AM (#43136894)
> You just take some normal HTML markup, wrap it with a custom element, and then write some JS to add capabilities which you can then style with regular CSS! Everything’s of the Light Side of the Web. No need to pierce the Vale of Shadows or whatever.

Ah ! Yes, that's basically me.