Which is better for your project: axios vs fetch? or axios vs fetch - What's the difference and which

18 Replies, 1177 Views

Fetch all the way!

Yeah, the syntax isn’t as pretty, but modern JS with async/await cleans it up a lot. Plus, no extra dependency means one less thing to maintain or audit.

Axios is nice, but do you *really* need it? Fetch + the `ky` library gives you a lot of axios-like features without the bloat.

Just my 2¢.

Messages In This Thread



Users browsing this thread: 1 Guest(s)