4 ms·
> something that will be gone in a couple of years I suspect jQuery and it's ecosystem will themselves become irrelevant and eventually (effectively) abandoned
by stuartd 8y ago
> something that will be gone in a couple of years
I suspect jQuery and it's ecosystem will themselves become irrelevant and eventually (effectively) abandoned. The (at the time compelling) rationale of abstracting away different browser behaviour has become less and less necessary, and what I would see as the other advantage of using jQuery - like easier access to behaviours like animation, $ajax - less relevant.
$ajax supports async/await, yes - https://petetasker.com/using-async-await-jquerys-ajax/ https://petetasker.com/using-async-await-jquerys-ajax/ - but why would I not want to just use the fetch apis? https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API (ignoring browser compatibility, which is becoming the norm)