Re:You might not need JavaScript
by favorited on Wednesday October 12, 2016 @05:21PM
(#12696512)
I've been out of the JS world for a few years, but for a single Ajax call, why wouldn't you use XMLHttpRequest?
[ Parent
| on HN ]
Re:You might not need JavaScript
by matchagaucho on Thursday October 13, 2016 @01:05PM
(#12702257)
jQuery ajax essentially is just a wrapper to XMLHttpRequest.
With some effort, the relevant jQuery methods that act as polyfills could be extracted.
However, a minified version of core jQuery is < 20Kb. A very low technical debt trade-off to support 99% of browsers.