Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You're right, custom elements don't do that, and it's not a goal of the custom elements spec (as far as I can tell) to promote any particular programming style. It's a low level spec. So showing the most low-level way to use it makes sense.

Here's a library that combines custom elements with VDOM rendering: https://github.com/skatejs/skatejs



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: