Re: [WICG/webcomponents] [element-internals] How to get internals in base class and subclass, without leaking it to public (Issue #962)

@trusktr

> The only downside is subclasses needing to remember that boilerplate.

Well, if you forget it, you won't get access to the internals, so I don't think there's much risk of that. And if you don't need the internals you don't need to include the boilerplate in your subclass.

---

@calebdwilliams 

> that does cause complications calling `new Whatever` though.

What complications do you mean?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/962#issuecomment-1200013631
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/962/1200013631@github.com>

Received on Friday, 29 July 2022 23:02:04 UTC