DEV Community

Discussion on: What Do You Think About the Virtual DOM?

Collapse
 
avalander profile image
Avalander

I like virtual DOMs because they are a convenient way of keeping your application state and the DOM synchronized, especially for dynamic applications that need many non-trivial updates to the DOM.

Regarding performance, I don't think it's the main selling point, but unless you are doing something crazy, they are usually performant enough.

I do not like JSX, though. I think it is easier and more straightforward to work with plain JS functions and I see no point in bringing in a DSL only because it resembles HTML.