DEV Community

Discussion on: Which is better? Axios or Fetch?

Collapse
 
sebastian_wessel profile image
Sebastian Wessel

I used native fetch for the first time now, and I like it.
The Rust-style with response.ok instead of throwing is easier to handle/read.
Also, the timeout handling, JSON en/decoding is working out of the box.
If you do not need to support node versions which do not provide native fetch - go for fetch

Collapse
 
javicodev11 profile image
Javico11

Tks Sebastian for your kind opinion, if I have read a little about those advantages.