by wildpeaks · 4mo ago · 0 comments
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]: https://developer.mozilla.org/en-US/docs/Web/API/Web_compone...