2 ms·
So we finally got a goddamn proper standard and we're already cheering for the next API to throw in front of it to make it "cleaner"?
by nothis 7y ago
So we finally got a goddamn proper standard and we're already cheering for the next API to throw in front of it to make it "cleaner"?
- floatboth 7y agoActually, no. There's no need or possibility to make it "cleaner", but there's always the direction of making it more "high level". These are very different things. If you look at https://lit-element.polymer-project.org https://lit-element.polymer-project.org — it's just a base class that integrates declarative DOM templates. The platform APIs are not opinionated about templating, they just provide proper mechanisms for declaring elements and having isolated DOM subtrees. It makes sense to leave templating to libraries, because… well, good luck on getting even just two people to agree about how templating should be done :)