Remix.run Logo
pier25 3 hours ago

People use axios or ky because with fetch you inevitably end up writing a small wrapper on top of it anyway.

zachrip 2 hours ago | parent | next [-]

Fetch has also lacked support for features that xhr has had for over a decade now. For example upload progress. It's slowly catching up though, upload progress is the only thing I'd choose xhr for.

afavour 3 hours ago | parent | prev | next [-]

Some might say the tradeoff of writing a small wrapper is worth it given what’s been demonstrated here.

pier25 3 hours ago | parent [-]

Yeah but what about other deps like db drivers?

jmull 2 hours ago | parent | prev [-]

In my experience people feel the need to wrap axios too.