Use Fetch API for web apps

Use Fetch API for web apps

Blog
Fetch API has become the standard for web API requests for a while now and it is supported in almost any modern browsers nowadays. Let’s use Fetch API and implement it for the web Use Fetch API Previously, there are many existing solutions for handling API requests for the web, ex. jQuery Ajax, request (node), axios (node) … why there needs another? Why Fetch API? Fetch API is the standard API being supported native in most of today web browsers. Fetch API is widely supported – caniuse.com Hmm, IE is not supported, you ask? Since Microsoft stopped support for IE, no more development for IE in future, and we will expect very less number of users use IE. Fetch API Specifications The specs of Fetch API is described here, https://fetch.spec.whatwg.org/ Check…
Read More