DEV Community

Discussion on: FE Jargon you should know - SSG,  SSR,  CSR,  VDOM

Collapse
 
shriji profile image
Shriji

Hey I am sorry this claim is old Because the real Browser DOM is slow to paint things

Check this out
svelte.dev/blog/virtual-dom-is-pur...

Collapse
 
alexandrudanpop profile image
Alexandru-Dan Pop

Yep I also like the Svelte approach - that is indeed a nice article, I read it some time ago.

At the end of the article it also states that the VDOM is fast enough for most scenarios. And that's exactly what I experienced with the apps I built.

Svelte is also optimizing browser painting, but just without a VDOM. Components that don't have state or props changes - don't re-render in the real DOM. In the end that is the goal.