XMLHttpRequest not use it?

Hey all. Today, it's bad to use XMLHttpRequest? Have accurate to work with fetch? Prepare a project for a portfolio to continue to position the company. The problem is the support fetch Yes, I know there was polyfil. You yuzaete?
April 4th 20 at 13:27
2 answers
April 4th 20 at 13:29
Yuzayu axios)) if You have a well written code then I think httpRequest blame no one will. Additionally, if you use fetch and dynamic import You will have the ability to upload has polyfil only where the fetch is not supported))
April 4th 20 at 13:31
Depends on the tasks that the customer required, and you use. Usually depends on browser support. Naked XMLHttpRequest do not use typically use axios.

Find more questions by tags AJAXJavaScript