News for hackers. Stuff that matters.
Re:Web Components could replace frontend frameworks? by dfabulich on Friday April 12, 2019 @12:58AM (#19642092)
Perf boost compared to what? It can't be a FCP perf boost relative to server-side rendered plain old CSS and HTML, because shadow DOM requires client-side JavaScript.

Plain old CSS is able to parse and render before the JS required to launch web components has even finished.

Re:Web Components could replace frontend frameworks? by lowkeyokay on Friday April 12, 2019 @02:00AM (#19642356)
It can be a performance boost because it only updates the part of the DOM tree that has changed. Not completely unlike React’s virtual DOM