3 ms·
I was going to bring up Polymer's lit-element / html`` syntax but decided it was a dead horse - but in any case, hopefully that isn't the way things go. Even th
by coding123 6y ago
I was going to bring up Polymer's lit-element / html`` syntax but decided it was a dead horse - but in any case, hopefully that isn't the way things go. Even though the breakouts ${} are JS and the compiler can help with those, it doesn't do much for repetition. I really think that's one area that angularjs -> angular X really struggled was templates that repeat things... React pulled that off so f...ing fabulously. It's just a map that emits more elements!
- spankalee 6y agoThat's exactly what lit-html does: html` <ul> ${items.map((i) => html`<li>${i}</li>`)} </ul> ` ...so I don't understand the critique.