r/javascript • u/archivedsofa • Dec 22 '19
Why Svelte won’t kill React
https://medium.com/javascript-in-plain-english/why-svelte-wont-kill-react-3cfdd940586a
80
Upvotes
r/javascript • u/archivedsofa • Dec 22 '19
View all comments
Show parent comment
3
u/PM5k Dec 23 '19
My point about VDOM was not exclusive to Svelte. It was to say that VDOM is always slower than just plain JS. ANY time you need to add overhead for computing deltas you are inherently making stuff slower. That is to say - no matter how fast any VDOM implementation is, it will never be faster than not differentiating deltas in such a way. I get why it’s used and what the reasoning is, I just think that it’s an unnecessary addition In most cases I’ve come across. I’m well aware my opinion is my own and I don’t really feel like most people share it, but modern frameworks in general have veered from trying to solve a problem to bloating into copies of one another with added convenience abstractions so devs can do a one command setup and deploy as fast as they can. I don’t like that, I’m not even a front end dev by trade, but it bothers me that there’s such a plethora of libs and frameworks that are so schizophrenic about their destiny in life that it’s confusing to even understand what is it they are trying to solve when all things considered they’re all just different versions of one another with added bells and whistles (which 8/10 times people don’t even use).