Re: [WICG/webcomponents] DOM parts use outside of <template> seems unlikely (Issue #1035)

Here's an article from someone who came up with a similar CSS ideas me, cc @tbondwilkinson. The fact that so many people are independently coming up with similar ideas here shows that the idea has some legs and should be explored.

https://knowler.dev/blog/declarative-custom-elements-should-take-inspiration-from-css

---

I'll reiterate, coupling HTML and DOM updates would be a mistake. Imagine if CSS had not happened and `<font>` and `<center>` were how styling worked. The DOM parts proposal is a repeat of that. Decoupling is the answer. CSS-like is one possible, but not the only solution.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/1035#issuecomment-1959650446
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/1035/1959650446@github.com>

Received on Thursday, 22 February 2024 15:09:47 UTC