4 ms·
I absolutely despise slow software. But what I meant to say is that performance of modern frameworks is comparable. There's a huge UX difference between 250ms a
by hbrn 4y ago
I absolutely despise slow software. But what I meant to say is that performance of modern frameworks is comparable. There's a huge UX difference between 250ms and 500ms page render. Not so much between 25ms and 50ms.
When I'm looking at Svelte or Vue I care about developer experience way more than their performance compared to React.
If performance mattered as much as you're claiming, React would never gain traction. After all, Virtual DOM is pure overhead.
- josephg 4y agoI agree that the performance difference between svelte and vue is negligible most of the time. It might matter more for giant websites - but it’s hard to evaluate that from the microbenchmarks people keep doing. React’s performance has never been that great. The library is large (a cost you pay for even on tiny websites). Time-to-interactive is quite long. And I can count on one hand the number of times I’ve seen shouldComponentUpdate used in the wild. Most apps just do a full rerender whenever the state changes. React performs well enough when websites are small, and by the time a website is big, people don’t want to change their framework. The users are asked to put up with vaguely sluggish websites. They often aren’t given a lot of choice. I think users bounce from websites due to sloppy performance all the time. But dev teams have no idea how much it happens because it doesn’t show up on metrics. And it’s hard to fix a big, slow react website like new reddit. As they say, you can’t fix a problem with the same thinking that created the problem.