DEV Community

[Comment from a deleted post]
Collapse
 
oenonono profile image
Junk

What do you mean by "size is not the issue"? Size is not THE issue. But is AN issue. What do you mean by usability and accessibility? Do you mean the usability and accessibility of jQuery? Or of the UIs built with jQuery? Nothing about jQuery necessarily hurts usability or accessibility. It's all in how you use it.

Collapse
 
biomathcode profile image
Pratik sharma

yeah, size is important, but the size of JQuery is not killing it. When JQuery came its usability and accessibility was huge. JQuery was the king of DOM manipulation, animation and enabled developers to create plugins.
Now, with the updates in Js and css. I can create great single page sites without using JQuery.
It's just that size is not killing JQuery.

 
po0q profile image
pO0q 🦄

I think there might be a misunderstanding. My point is not that size is the number one reason to drop jQuery. I'm saying that I don't need jQuery like I needed at that time, so why would I load it on every single page of my websites and apps?

I just don't need it and I've seen poor usages :

don't use it only to make "quicker" DOM selections or essential operations.

When I said 88 kb is huge, it's because it's for nothing, and the impact is everything but insignificant. I prefer investing those kilobytes elsewhere, or best-case scenario, not investing them at all.

I find it's too expensive for the "performance budget".