What went wrong?

What went wrong?

Attached: 1024px-JQuery_logo.svg.png (1024x250, 38.83K)

Other urls found in this thread:

vanilla-js.com/
twitter.com/NSFWRedditGif

>What went wrong?

Attached: HS9xcEDk_400x400.jpg (400x400, 36.89K)

Its main use case was cross-browser compatibility.
Killing IE solved the root problem.

Idk, do you?
Also, might not have been anything

I like it more than react, but when you need state management, VueJs will help you.

I should mention though, comparing jquery to a js framework is silly. Jquery was invented when static html pages were the most common. It did it job. Thank you jquery.

It tried to wear too many hats. It was both UI framework and querying context and ended up being replaced by things which did each individual task better.

You're the comparing it to a framework, you retard.

querySelector and querySelectorAll

oh wow jquery 22kb extra to write readable code instead of vanilla js garbage compared to your garbage reactJS 330kb bundle. People who say "bro just do the same thing in vanilla JS" are jr devs who should keep their fucking mouths shut.

While it might have never been meant for that purpose, people unironically used it as a framework because it created a standardized foundation on which to build websites on with guaranteed behavior across browsers. And over time its functionality became bloated to fulfill that usage.

>bloated
>22kb library

current state of brainwashed faggots by hacker news commentators.

the best thing it could do was provide cross-platform support
that need has been fulfilled by the browsers themselves
everything else it does is done better by anything else

fuck off bloatnigger

>instead of vanilla js garbage
if vanilla code in your language is considered garbage then you might reconsider everything that you're doing

I get it. You learned javascript back in 2002 and you refuse to change. But your attempts to one-up are absurd. You learned javascript, bro. You're the lowest of the low.

you don't even know how this example works, do you?

Attached: js-vs-jquery.png (2722x936, 769.79K)

vanilla-js.com/
Pretty pathetic performance

that's the same amount of code but the left is 10-100 times faster

You wrote less, and did more (bad anti-user shit).

you forgot some code

Attached: js-vs-jquery-2.png (2722x6614, 3.67M)

you can also dumb down vanilla js if you want to

Attached: vanillajs-dumbed-down.png (395x532, 46.1K)

Use nextjs or Astro you stupid boomer fuck.

how is nextjs even comparable to jquery

thats literally 22kb gzipped and compressed. how big is that if you were to implement that in react ?

most of the neat things jquery could do ended up built-in, so it eventually became sort of unnecessary bloat