Hacker News new | ask | show | jobs
by rpastuszak 2824 days ago
Virtual DOM tends to be faster because bridging between JS and native layers can be expensive. If diffing is done in the JS layer, some potentially expensive calls can be batched or ignored if a change is unnecessary.
1 comments

I mean why they use it at the stage when they create their own virtual DOM copy from the template string, not during the time they do changes when the app is running.