Kevin Powell - CommunityKP-C
Kevin Powell - Community14mo ago
24 replies
Faker

How to use Fetch API in JS

Hello guys, sorry to disturb you all; I have just learnt about the fetch API in JavaScript. I understand what it does in terms of asynchronous loading, like having new content displayed on a web page without having to reload the page but I don't really know how to use it, like the arguments it take, what we can do etc... Is there a small project that I can do just to make me more comfortable with that please.

Also, while digging into the fetch API, I came across the term "axios"; is that a library that is more performant than the fetch API ?
Was this page helpful?