3 ms·
jQuery is fine, but for the sake of your user experience you should customise it to only include things that you actually use. An extra 28k download, as well as
by onion2k 13y ago
jQuery is fine, but for the sake of your user experience you should customise it to only include things that you actually use. An extra 28k download, as well as the additional overhead of the browser parsing and running it, does affect the experience to some degree. A minimal build of jQuery is better than the whole thing. "Don't use jQuery" is overkill, but "Use jQuery wisely" is common-sense.
The key thing to remember is that your time as a developer should be spent making software that the user will enjoy using - your job is not to make your own life as easy as possible by throwing in libraries with no thought about how it'll affect the user experience. Learn a build tool and use it to optimise your web apps.