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!
I'm a huge fan of JSX. The virtual DOM is much harder with animations until you get past the idea that you're going to tell it do put x in position y. vDOM's benefits, for me, are more logical and implementation benefits than performance benefits, however others seem to think that performance is better with vDOMs and it always comes up when vDOMs come up.