Today I learned
Replace axios with fetch
Axios is a npm package which makes
http requests easier. At the time axios came out, making http requests in the
browser was not really fun and axios made the life of a lot of developers
Since then a lot of things changed. A native fetch API is now available. Kent C. Dodds wrote a blogpost why you might not need axios anymore and can replace it easily with fetch.
Greetings MarcoGo back to other today-i-learned posts