4 ms·
This is a surprising perspective, since we're using web components top-to-bottom to build photoshop on the web, & some of that decision was driven by performanc
by hunterloftis 4y ago
This is a surprising perspective, since we're using web components top-to-bottom to build photoshop on the web, & some of that decision was driven by performance comparisons where web components outperformed react.
It's possible that very naive implementations of web components would render as slowly as you describe - like if you rebuilt the whole DOM tree at every level on every change.
Here is a performance-oriented talk about rendering web components via browser-parsed template literals via Lit (which is how we do it):
https://youtu.be/CJYkwDTaHzY https://youtu.be/CJYkwDTaHzY