Comment Comment by c-smile It depends how really you use virtual DOM. React's "reconciliate whole world" approach can be excessive, yes.But, for example in Sciter, vDOM works in [web] component cases that are similar to Svelte: class Beers extends Element { bottles; render() { return <span .bottles>{this.bottles}</span> } set value(v) { this.componentUpdate({bottles:v}) } } When you will do document.$(".bottles").value = 12; it will update only what is needed. Pretty much Svelte style but with the convenience of vDOM. parent c-smile 3 years ago
But, for example in Sciter, vDOM works in [web] component cases that are similar to Svelte:
When you will do it will update only what is needed. Pretty much Svelte style but with the convenience of vDOM.