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

Thanks, that's good to know. In some contexts I don't think a custom element is ever added to the DOM more than once, eg in htmx I am responding with HTML markup which is then injected into the page and then just kept there, possibly 'forever' or at least until it is replaced by some new markup from a new response.


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

Search: