6 ms·
I think ya'll are kinda talking past each other, and you may agree more than it appears. The DX for raw web components, without any library, is awkward and ver
by rictic 9y ago
I think ya'll are kinda talking past each other, and you may agree more than it appears.
The DX for raw web components, without any library, is awkward and verbose to handle observing changes well. I think the point of departure is that we (Polymer) see this as a problem that's true of all JS, not just Web Components, and it would be better to solve it for all JS through a mechanism like decorators, which is going through the standards process now and we're big supporters of it.
So, yes, creating getters and setters and observing changes is awkward. Yes we should fix it for web components, but the best place to do that is to fix it is actually at the javascript level, which is in process! :D