Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Declarative Shadow DOM Merged into HTML Standard (github.com/whatwg)
18 points by aragonite on Oct 30, 2023 | hide | past | favorite | 3 comments


Can someone more experienced summarize what is this and how it affects web components?


Shadow DOMs have up until now only been able to be created in Javacript, which is a problem if the user has JS disabled or server-side rendering is desired.

Declarative Shadow DOM allows you to set all of that up with HTML markup.


This is huge




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: