Re: [WICG/webcomponents] [idea] Make use of `observedAttributes` optional (#565)

This is something I have been looking for for quite some time already. When developing Web Components, there are plenty of use cases where you want to update the list of observed attributes in your Component.

By providing a simple API, something along the lines of 

```javascript
customElements.updateObervableAttributes('my-component')
```

or built into the HTMLElement class,

```javascript
// inside HTMLElement
this.updateObservableAttributes();
```

The developer could manage the updating of the attributes themselves.

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

Received on Tuesday, 19 January 2021 21:36:19 UTC