← Back to context

Comment by wildpeaks

1 day 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.