by karhuton · 4mo ago · 0 comments
class SaganButton extends HTMLButtonElement { … }
Anyone know the reasoning they’re blocking this?
As for potential property collisions, I think the common wisdom is to just ensure the property name contains a dash, since the html5 spec goes out of its way to avoid using them. Doesn't solve brittle inheritance hierarchies in general, but it does at least stay out of the way of built-in behavior.
Can we not just do `:host { display: contents }` and use the same approach?