Re:jQuery 4.1.0
by noduerme on Wednesday November 18, 2026 @03:48AM
(#50543646)
Yeah. And also, 2015 was the same time when Promises became part of the spec. That was the justification for fetch in the first place. So, $().ajax still handled its results with callbacks, it wasn't async, although it was easy enough to wrap. You wouldn't necessarily replace it until you were ready to rewrite a whole bunch of other stuff in your code with async functions. For me, a bigger question for older code was transitioning the bulk of the code to promise patterns, even though I would've otherwise wanted to swap fetch for ().ajax much sooner.
[ Parent
| on HN ]
There are no comments on this comment yet.