camelaissani / frontexpress

An Express.js-Style router for the front-end
https://frontexpressjs.com
MIT License
261 stars 12 forks source link

Should we replace the XMLHttpRequest by the Fetch API? #8

Open camelaissani opened 7 years ago

camelaissani commented 7 years ago

Currently, requests are sent through the XMLHttpRequest object. Simplify and make the code more standard by using Fetch API.

camelaissani commented 7 years ago

It will break the compatibility because home made request and response objects will be replaced by the standard request and response.

camelaissani commented 7 years ago

Request Response and Fetch API are not supported on all browsers. Some mobile browsers and Safari are not compatible.