[WICG/webcomponents] A simple conceptual way to create web components through javascript (Issue #973)

I would like to know what you think of this idea.

#### webcomponents_sample.js
```js
// <p>Hello, <b>World</b>!</p>
var ElementParagraph = webcomponent.extends.HTMLElement('p');
ElementParagraph
   .constructor.super()
   .connectedCallback(() => innerHTML(`<p>Hello, <b>World</b>!</p>`) );
   .define("ElementParagraph", ElementParagraph);
```

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

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

Received on Wednesday, 19 October 2022 04:33:02 UTC