Hacker News new | ask | show | jobs
by wildpeaks 13 hours ago
My only issue with Web Components is that, by design, they need to be registered with a globally unique tagname and can't be unregistered.

It's a reasonable compromise given the original purpose of custom elements, but in practice it ends up more maintainable to be inspired by its structures without using real custom elements despite I was initially excited that jsdom supports custom elements nowadays.

1 comments

Why is the uniqueness constraint of tag names a problem?