THE PENDING DRAFT

You might not need jQuery

March 5, 2015

We often use jQuery just because we’re used to work with it. This page nicely demonstrates how easy some common functionality could be replaced with plain JS.

jQuery and its cousins are great, and by all means use them if it makes it easier to develop your application.

If you’re developing a library on the other hand, please take a moment to consider if you actually need jQuery as a dependency. Maybe you can include a few lines of utility code, and forgo the requirement. If you’re only targeting more modern browsers, you might not need anything more than what the browser ships with.

Definitely something i will come back to next time i’m tempted to implement jQuery just to switch some classes easily.

You might not need jQuery

Leave your comment