4 ms·
>All easily done without it. I think that's the thing. Unless you write your own utility library or use someone else's it's often more verbose, more fragile an
by Dayshine 10y ago
>All easily done without it.
I think that's the thing. Unless you write your own utility library or use someone else's it's often more verbose, more fragile and less intuitive.
And if you do use a library, probably one for each feature, why is it better to have a handful of dependencies than one?
- overcast 10y agojQuery has its uses, many uses. But for the ones stated above, it's just not needed. People are including a large library on their site, to use a couple functions. Use the correct tool for the job.
- Dayshine 10y agoI would rather have one single large dependency than a handful of small, regularly abandoned, ones. In a year I will be able to reach out to the community for support on jQuery. Will I for all of these small tools?
- overcast 10y agoMy original post was ditching jquery for native JavaScript. Nothing to do with additional libraries. Except for Lodash which is very specific to some complex things I'm doing that jquery wouldn't help with anyhow.