5 ms·
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/
by pfzero 10y 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/slot 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.
- dmitriid 10y agoYeah, I got it from Polymer's docs. If I don't forget, I'll update the article