Learn how to use the Fetch API — a simpler, easier, promise-based alternative to XMLHttpRequest — with Node.js, Deno and Bun.
Tag: Fetch API
Ever wished Node was more secure and came with TypeScript support out the box? Deno offers this and more. Learn why many are switching from Node to Deno.
Weighing up whether to keep using XMLHttpRequest vs the Fetch API's modern take? We look at the pros and cons of both options.
Learn about the benefits of using Axios, a promise-based HTTP client with an easy-to-use API that can be used in both the browser and Node.js.
Ludovico Fischer introduces you to the Fetch API, a new standard that aims to unify fetching across the web and to replace XMLHttpRequest.
Peter Bengtsson walks through building a wrapper for the Fetch API, step-by-step, to cache fetched AJAX results and avoid repeated requests to the server.
Dan Prince looks at factory functions in JavaScript, examining the different types, their use cases & how they allow us to separate data from computations.
Ravi Kiran demonstrates how to combine powerful new ES6 features (namely generators, Promises and the Fetch API) to create asynchronous APIs in JavaScript.