3 ms·
CSS scoping without a hacky third party framework is long overdue. Web components largely failed at this point though, the spec needs to be rewritten from scra
by throw_m239339 5y ago
CSS scoping without a hacky third party framework is long overdue.
Web components largely failed at this point though, the spec needs to be rewritten from scratch to be more pragmatic. People have been using React and Co for more than a decade now, spec writers certainly have enough hindsight as to how people practically program front-end applications.
- earthboundkid 5y agoWeb components are a great brand for a collection of mostly awful APIs. Shadow DOM in particular should have just been a CSS property from the start. Glad to see someone starting to recognize this.
- earthboundkid 5y agoNever-mind, read the link. It's just shoveling more crap on top of the existing shadow DOM instead of finally just cutting bait and making a CSS property called `inherit: reset;` like they should have done to begin with.
- mook 5y agoPeople have been using XBL in Mozilla before all the web components work started, so… I wouldn't hold my breath. Looking it up, archive.org says it's been over 20 years… https://web.archive.org/web/20001218094100/https://www.mozilla.org/projects/xbl/xbl.html https://web.archive.org/web/20001218094100/https://www.mozil...
- lenkite 5y agoPlease give me web-components without Javascript and I'll start using them heavily.
- throw_m239339 5y agowell, it was kind of the whole point of XHTML2 spec. The Web component spec is just an inferior version of it, that's why it failed.