4 ms·
VirtualDOM is why. vanilla.js is better
by dym_sh 4y ago
VirtualDOM is why.
vanilla.js is better
- satvikpendem 4y agoHave fun rewriting your own ad hoc, informally-specified, bug-ridden, slow implementation of half of ̶C̶o̶m̶m̶o̶n̶ ̶L̶i̶s̶p̶ React.
- dym_sh 4y agothat's the "problem" tho — i dont need that level of abstraction, i already know how to assign event listeners and toggle css classes, which covers 99% or real-life needs
- satvikpendem 4y agoFor small projects, sure. But it breaks down in larger ones, ask me how I know. The reality is React and other tools solve problems at scale, plus they're genuinely nice to develop in, while vanilla JS simply is not.