But sometimes I dynamically generate vdom nodes. Like markdown to vdom. There vdom shines. It’s a simple elegant idea.
I think svelte is exaggerating a bit.
React and vdom family of libraries are great. Svelte is great too. Not mutually exclusive.
Someone should write a Babel jsx transpiler that does svelte like compile time optimizations for react. At the same time still allows dynamic runtime diffing if needed.
No reason why we can’t have best of both worlds.