From what I understand it's the aftermath of the changes that makes a difference. Every time we make a real update to the DOM, it has to perform reflows and repaints on the page. The goal of using vdom is to calculate the minimum set of change only to the actual dom. It's really just making the diff process faster.
Native JS is always going to be faster than a virtual DOM. You can imagine the virtual DOM as just a way you model what should be on the page and acts like a middle man between the abstracted React code and the page that gets generated by React
Exactly my thought React has become garbage over the years and while Next JS tried to improve it, Next itself became a huge pile of mess IMO SolidJS and SolidStart are the future, but Svelte and Vue are also strong choices Anything but React is good
I didn't even know it was faster. Great video and definitely learned something new. Thanks!
That’s awesome!! 😎
just found this channel and i love your videos
Crazy video! Deserves thousand of likes!!!
Wow thank you!!😊
Great video!
thank you!
Isnt native Dom changes more performant than virtual Dom changes nowadays?
From what I understand it's the aftermath of the changes that makes a difference. Every time we make a real update to the DOM, it has to perform reflows and repaints on the page. The goal of using vdom is to calculate the minimum set of change only to the actual dom. It's really just making the diff process faster.
Native JS is always going to be faster than a virtual DOM. You can imagine the virtual DOM as just a way you model what should be on the page and acts like a middle man between the abstracted React code and the page that gets generated by React
Isn't that so memory consuming?
How Does ReactJs Stay Fast? I doesn't, it's a slow piece of s..oftware (compared to other js frameworks)
Exactly my thought
React has become garbage over the years and while Next JS tried to improve it, Next itself became a huge pile of mess
IMO SolidJS and SolidStart are the future, but Svelte and Vue are also strong choices
Anything but React is good