3 ms·
jQuery versus vanilla DOM is slower, larger, and adds dependencies. jQuery versus [framework of the month] is "faster, smaller, and [has] fewer dependencies".
by handrous 5y ago
jQuery versus vanilla DOM is slower, larger, and adds dependencies.
jQuery versus [framework of the month] is "faster, smaller, and [has] fewer dependencies". Simpler build, too, while still keeping you from having to worry about which browser supports what.
Depends on what the most likely alternative is, then.
- onion2k 5y agoThere are plenty of modern frameworks that are smaller than jQuery (svelte, Preact, etc). In some apps they may also be faster. If you pick svelte there's the same number of dependencies.