News for hackers. Stuff that matters.
Re:Web Components could replace frontend frameworks? by nitrogen on Friday April 12, 2019 @03:13AM (#19642697)
innerHTML has to parse the html, so won't it be a bit slower?
Re:Web Components could replace frontend frameworks? by kccqzy on Friday April 12, 2019 @02:09PM (#19647428)
Wouldn't the JavaScript engine need to parse your long and complicated chains of `document.createTextNode(blah)` or `parent.appendChild(foo)`?