News for hackers. Stuff that matters.
Re:Open-sourcing the Lightning Web Components framework by csande17 on Wednesday May 29, 2019 @10:10PM (#20047740)
Even if you aren't able to inherit from a form element, can't you still `createElement` one and add it inside your custom element? Surely they don't force you to reimplement <input /> from scratch!
Re:Open-sourcing the Lightning Web Components framework by vetinari on Thursday May 30, 2019 @05:54AM (#20049701)
Yes, you can compose them; and then implement a proxy that creates all the methods and attributes that given element class is supposed to have and forward them to the real implementation.

Busywork, so Apple can hold their position. How nice. No, it is not "perfectly fine".