top | item 37145777

(no title)

antiatheist | 2 years ago

Bullshit, the jQuery "Ajax" API is a hellish convoluted nightmare with zero consistency.

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.

discuss

order

mejutoco|2 years ago

Jquery does not solve everything, but it does have a nice api

    $(this).closest(".cont")
for example, is pretty nice in jquery.