Hacker News new | ask | show | jobs
by pfzero 3381 days ago
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.

1 comments

Yeah, I got it from Polymer's docs. If I don't forget, I'll update the article