3 ms·
Re: your edit, that's not a bad component API, that's bad JavaScript (intentionally written by the author, in this case).
by rglover 3y ago
Re: your edit, that's not a bad component API, that's bad JavaScript (intentionally written by the author, in this case).
- spankalee 3y agoThis is exactly my point. The MDN element is bad (the component has a bad API), and made bad by the component author, not the web components APIs.
- rglover 3y agoWhich highlights that there is a lack of clear prescription around how to handle a list in a component at the (Web Components) API level. Contrast that with what I linked from my own framework where there's zero uncertainty as to how to handle a list.