I moved away from DEV for blogging, so now I'm barely active here. If you're still interested in my articles, you can check them on my site: https://luke.sh/articles
Worth mentioning that the features you listed for jQuery, are present on all the previous approaches, is not only present in jQuery (one of many reasons people no longer use jQuery nowadays). XMLHttpRequest is the oldest one, and the most discouraged, mainly because afaik fetch is missing only on unsupported browsers, so if they no longer have support, you shouldn't support them either 😄
I moved away from DEV for blogging, so now I'm barely active here. If you're still interested in my articles, you can check them on my site: https://luke.sh/articles
Luckily there are some pretty descent polyfills that you can load only for your IE users, instead of doing XHR manually, but still that sucks, hope your situation improves next year ☺️
Top comments (7)
Worth mentioning that the features you listed for
jQuery
, are present on all the previous approaches, is not only present injQuery
(one of many reasons people no longer usejQuery
nowadays).XMLHttpRequest
is the oldest one, and the most discouraged, mainly because afaikfetch
is missing only on unsupported browsers, so if they no longer have support, you shouldn't support them either 😄Cheers!
Thank you for sharing your point of view.
Sadly no fetch on IE11 (which I have 15% of my users on still, try getting old non-tech corporates to move). Next year, maybe...
Luckily there are some pretty descent polyfills that you can load only for your IE users, instead of doing XHR manually, but still that sucks, hope your situation improves next year ☺️
Yeah polyfilled without a problem with a 4.5MB bigger bundle for IE11 lol with all the other stuff...
Great thank you.
You can add rubico rubico
Regards
yeah sure. thanks for your suggestion.