An ode to jQuery
We take up a listener request this week and have an honest conversation about jQuery. Then, it’s time for something new! Our friends at Hot New Tech review tone.js for us. After that, it’s Pro Tip Time!
We take up a listener request this week and have an honest conversation about jQuery. Then, it’s time for something new! Our friends at Hot New Tech review tone.js for us. After that, it’s Pro Tip Time!
Discussion
Sign in or Join to comment or subscribe
Rory
2020-10-30T20:24:52Z ago
WOW! Well, I’m honored that you dedicated a segment of your show to my listener question. Thanks! A few random thoughts …
Thanks again, great show!
Jerod Santo
Bennington, Nebraska
Jerod co-hosts The Changelog, crashes JS Party & takes out the trash (his old code) once in awhile.
2020-11-03T16:11:40Z ago
It was a great idea for a conversation! This is why I am always mentioning the request form. Y’all come up with better show ideas than we ever can.
Like I said on the show, there should be no shame in the jQuery game. Do you need it today? Not really. Should you use it if it makes you more productive, helps you write less bugs, and that trade-off is worth the additional page weight? Absolutely.
One thing I’d suggest trying, though, is the next time you start a project where jQuery would be a nice fit… start by implementing your own
$
function that wrapsquerySelector
,addEventListener
, etc. Because:After doing that for awhile, you may find that you need more of what jQuery offers than is worth implementing yourself. But if you’ve maintained API-compatibility, it’s an easy switch from there.
Thanks again for the show idea and the thoughtful comments here! 💚
Rory
2020-11-03T16:57:26Z ago
Nice idea!