|
|
|
|
|
by sAbakumoff
3426 days ago
|
|
I mean instead of adding polyfills for "fetch" api and "es6 promises" that brings a gazillion dependencies with them, one can simply add jquery package that has ZERO runtime dependencies(https://github.com/jquery/jquery/blob/master/package.json) and have ajax calls, promises and much, much more out of the box. I love jQuery. |
|
https://github.com/github/fetch/blob/master/package.json
And a Promises library with zero dependencies:
https://github.com/stefanpenner/es6-promise/blob/master/pack...
This is not as difficult as you're making it out to be.