JQuery Footguns?

Ben Lovy - Jul 2 '19 - - Dev Community

I've been tasked with building a small application over the next two weeks, and must use JQuery to do so. Left to my own devices I'd probably just keep it vanilla, but leaving me to my own devices is not generally recommended.

I've never used JQuery for anything larger than 200 lines, and that was circa 2012. Is there anything I should watch out for? Any seemingly innocuous patterns that create more problems than they solve?

A quick glance through the documentation suggests I can just sort of use it as a shorthand for some common operations like grabbing DOM nodes and performing AJAX. Should I just be building my application in much the same manner as I would be otherwise, just more concisely, or are there ways to leverage the library even more powerfully that I'm missing?

Thanks!

Photo by Ben White on Unsplash

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player