What Do You Think About the Virtual DOM?

Miklos Bertalan - Feb 25 '19 - - Dev Community

A few things are becoming de-facto solutions in JavaScript with a lot of tutorials but without much discussion about the practical benefits and reasons. The goal of this series is to talk about these topics.

The rules:

  • Speak about the whys, not the hows. It's okay to include a few favorite libs and patterns but it should not be the main focus of your comment.

  • No Googling! I am interested in Your opinion, experience, anecdotes, and gut feelings.

  • Your comment might get linked or quoted in the weekly summary if you are not asking otherwise. I never quote comments in a negative context.


This week's topic is the Virtual DOM

  • Do you prefer cross-platform vDOM implementations or Progressive Web Apps? Are these two substitute or complementary?

  • Do you prefer JSX and CSS-in-JS or the old-school HTML way?

  • Did you ever have issues with the extra abstraction layer of a vDOM? I am curious about situations where you wanted to do something - that you could do with vanilla DOM - but was blocked by the vDOM layer.

  • Do you feel like vDOM based frameworks are faster? Can you mention a case where you experienced speed differences?

  • Whatever pops into your mind about the Virtual DOM.

All comments are welcomed, there is no wrong answer!

. . . . . . . . . . . .