4 ms·
Thanks, appreciate the pointer - the idea of adopting something potentially a future standard through a polyfill is appealing. @pvg I take your point about lack
by scoot 11y ago
Thanks, appreciate the pointer - the idea of adopting something potentially a future standard through a polyfill is appealing. @pvg I take your point about lack of browser support, but that's what polyfills are for after all! :)
In the meantime since asking I also came across restful.js (github [1], blog [2]) - it's new, but looks like a good framework-neutral alternative, if a little heavy at 27K minimised/uncompressed.
Edit: Actually, fetch.js + es6-promise-min.js = 26K, so not much in it.
[1] https://github.com/marmelab/restful.js https://github.com/marmelab/restful.js
[2] http://marmelab.com/blog/2015/03/10/deal-easily-with-your-rest-api-using-restful-js.html http://marmelab.com/blog/2015/03/10/deal-easily-with-your-re...