News for hackers. Stuff that matters.
Re:The broken promise of Web Components by pfzero on Wednesday March 15, 2017 @03:41PM (#13879113)
I think your native web components example is wrong, or more probably outdated.

Here's an example with the latest wc spec: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sl...

But as far as I understand from the spec, sadly, you would still need a separate DSL that would leverage iterations, conditionals and other templating operations on top of web components.

Re:The broken promise of Web Components by dmitriid on Thursday March 16, 2017 @02:33AM (#13883006)
Yeah, I got it from Polymer's docs. If I don't forget, I'll update the article