2 ms·
What do you think words like "performant framework for building web user interfaces" (Vue), "rendering is blazing fast, because Lit touches only the dynamic par
by troupo 3y ago
What do you think words like "performant framework for building web user interfaces" (Vue), "rendering is blazing fast, because Lit touches only the dynamic parts of your UI" (lit) and similar mean?
No, they don't mean "our architecture and state manipulation".
> No one cares about state manipulation performance because as you said, it's a solved problem.
Indeed. That's way in any modern all modern frameworks, without an exception, the main focus is how to touch the DOM as little as possible because it's slow as molasses.
- diggan 3y agoFrom your own example, here is the text from https://vuejs.org/ https://vuejs.org/ as of today: > The Progressive JavaScript Framework > An approachable, performant and versatile framework for building web user interfaces. > Approachable - Builds on top of standard HTML, CSS and JavaScript with intuitive API and world-class documentation. > Performant - Truly reactive, compiler-optimized rendering system that rarely requires manual optimization. > Versatile - A rich, incrementally adoptable ecosystem that scales between a library and a full-featured framework. Yes, performance is mentioned. But it's hardly the main selling point, and they don't even mention DOM manipulation, they're talking about the rendering in general. Lit isn't even a framework, it's a "web components library". > all modern frameworks Yeah, "all modern frameworks" being one framework + one library?
- troupo 3y agoWhat do you think "performant UI" is in the context of the web? What do you think all frontend libraries have been optimizing for for the past decade? Why do you think they measure their performance by this benchmark: https://krausest.github.io/js-framework-benchmark/current.html https://krausest.github.io/js-framework-benchmark/current.ht...? Or, as most people in the frontend space [1], you only understand the absolute surface level of the technologies you use? And unless it's spelled out in the exact words you expect, you don't understand the concepts? [1] I'm a frontender myself, and the amount of people I meet who don't even have the most basic understanding of the tools and technologies they use is mind-boggling.