DEV Community


Discussion on: Svelte is the most beautiful web framework I've ever seen

slidenerd profile image

very stupid question but I had to ask, why wasnt working with the actual DOM done in Vue Angular or React? why only now with Svelte

Thread Thread
jesseskinner profile image
Jesse Skinner Author

Ultimately all the frameworks use the actual DOM, but React, Vue and (I think) Angular use what's called a "virtual DOM" to compare before vs after to see what needs to be changed on the page. Svelte doesn't need that, it compiles to just the DOM scripting needed without the overhead of a virtual DOM.