Skip to content

24 ways to impress your friends

Vote up?

Spyros Rallis

The best way to speed up jQuery is to not use it at all.

Don’t use jQuery because you are afraid (or maybe bored?) to write some simple JavaScript. Don’t use a 30KB framework in place of 10 lines of JavaScript. <em>Think</em> before coding and don’t cut corners just to cut corners — a little bit more work may be a better solution.

Now, don’t take me wrong — jQuery is a great framework and I love it. But I believe it is being overused.

You wouldn’t need to optimize your jQuery code if you used the framework only where necessary, right?

;-)