- From: Joe Pea <notifications@github.com>
- Date: Mon, 11 May 2020 12:28:39 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 11 May 2020 19:28:52 UTC
To make it easier to do things like this:
```js
export const MyElement = customElements.define('my-el', class extends HTMLElement {
// ...
})
```
instead of requiring only
```js
export class MyElement extends HTMLElement {
// ...
}
customElements.define('my-el', MyElement)
```
I'm not sure it is worth it. Any thoughts?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/875
Received on Monday, 11 May 2020 19:28:52 UTC