logoalt Hacker News

SebastianKratoday at 8:10 AM0 repliesview on HN

Standard practice in every decent frontend framework has been to create a component, that wraps the <button> without rendering its own dom node. This avoids the typical downsides of inheritance.

Can we not just do `:host { display: contents }` and use the same approach?