by jsnk · 12y ago · 0 comments
- Other devs in the team are using it
- Unless it's a small pet project, you will probably need it down the road even if you don't need it now
- Minified jquery is like 32kb. That means literally nothing in modern web. Unless you are from 1995 using 2G connection, this doesn't matter.
- Modern browsers are good. It's going to handle jquery like a champ. Don't worry.
- jQuery code is probably better than yours.
- Lots of 3rd party libraries have jquery as a dependancy.
Reasons not to use jquery and use just javascript
- Want to learn javascript
- Writing a library or framework and you don't want jquery dependancy
- Working on a very small website
Or on like better than 80% of all mobile data connections in the world. But mobile is so niche, right? No need to worry about them.
http://www.diffusedonline.com/wp-content/uploads/2012/04/pag...
http://thenextweb.com/insider/2013/07/23/akamai-average-inte...
My 80% number was hyperbole, but I do think the data supports that on world-wide average, mobile connections are drastically lower, and so making assumptions about a file size downloading quickly on fast broadband is ignoring an increasingly important part of the web traffic, which are years behind wired connections in terms of speeds.