Comment

Comment by wildpeaks

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.

parent wildpeaks 3 months ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton