3 ms·
jQuery's syntax is 10x better than vanilla javascript
by synergy20 3y ago
jQuery's syntax is 10x better than vanilla javascript
- antiatheist 3y agoBullshit, the jQuery "Ajax" API is a hellish convoluted nightmare with zero consistency. https://api.jquery.com/category/ajax/ https://api.jquery.com/category/ajax/ Have you seriously looked at this and thought "yeah thats better than using a single native function (fetch)"? As for the rest of the API - what would you even use besides the css and selector functions? Which again, the native `classList` and a simple bind to the selectors are simpler and less verbose.
- mejutoco 3y agoJquery does not solve everything, but it does have a nice api $(this).closest(".cont") for example, is pretty nice in jquery.