Remix.run Logo
maxpert 5 hours ago

jQuery is the last time I felt a library doing magic! Nothing has matched the feelings since then.

Minor49er 5 hours ago | parent [-]

Not even modern vanilla JavaScript?

marticode 4 hours ago | parent [-]

It's fairly close now but so much more verbose: ie document.getElementById('theID') vs $('#theID')

majewsky 4 hours ago | parent [-]

Nearly every time I write something in JavaScript, the first line is const $ = (selector) => document.querySelector(selector). I do not have jQuery nostalgia as much as many others here, but that particular shorthand is very useful.

For extra flavor, const $$ = (selector) => document.querySelectorAll(selector) on top.