3 ms·
> 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
by troupo 2y ago
> 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/ https://open-ui.org/ (started by Microsoft of all companies and now also completely overrun by Googlers)
- JodieBenitez 2y agoI 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.
- troupo 2y agoYeah, the "HTML Web Components" can be useful: https://adactio.com/journal/20618 https://adactio.com/journal/20618 and https://blog.jim-nielsen.com/2023/html-web-components/ https://blog.jim-nielsen.com/2023/html-web-components/
- JodieBenitez 2y ago> 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.