+ 1
Fetch api
Should i focus on fetch api or xml ajax?
1 ответ
+ 10
The fetch API is the newer version of XmlHttpRequest. In order to understand fetch properly, I'd recommend learning XmlHttpRequest first as it will give you a steady foundation about requests and responses.
After that, you'll need to learn promises in order to use fetch.
---
When should you use fetch?
If you are certain that your site or web application will not be opened in Internet Explorer, then it is safe to use fetch.