jQuery is a brilliant piece of software created by John Resig, used by a huge eco-system of plug-ins.
A lot of web developers remember the time when jQuery was the de-facto standard library to build anything in the browser.
It helped a lot to do things without worrying about the quirks and the inconsistencies of the browsers:
- Perform Ajax requests
- Query the DOM to show or hide elements in the page
- Animate elements… how sweet was
$('mySelector').fadeOut()
? - And so many other things… jQuery was the Swiss Army knife of web developers!
Let’s not forget the nice documentation too.
But things have changed, browsers have improved a lot, and they follow new standards… that have been inspired by the jQuery API: document.querySelector()
for example, is close to jQuery “selectors”.
Nowadays web applications usually rely on front-end libraries and frameworks like React, Vue.js or Angular that flavor different patterns.
To help with the transition to the post-jQuery era, You don’t need jQuery, the project number one this week, shows how to do a lot of common tasks using plain JavaScript, without any library.
Also we should mention a similar project: You might not need jQuery.
Any question or feedback? Reach us on GitHub.
Best of JavaScript is a project created by Michael Rambeau, made in Osaka, Japan.