|
|
|
|
|
by cudder
805 days ago
|
|
Yeah, Shadow DOM was definitely introduced as an immature technology with lots of problems. Nowadays there's also Declarative Shadow DOM[1] which allows you to create Shadow DOMs without JS. It alleviates some of these problems at the cost of introducing a few more of its own. It's like a drunken stumble with two steps forward and one back. [1]: https://developer.chrome.com/docs/css-ui/declarative-shadow-... |
|