Remix.run Logo
augusto-moura 6 hours ago

Hm, I don't think axios would do much better here. `fetch` is the official replacement for axios. If both are flawed that's another topic

cyco130 4 hours ago | parent | next [-]

Axios has maxContentLength and maxBodyLength options. I would probably go with undici nowadays though (it also has maxResponseSize).

nailer 4 hours ago | parent | prev [-]

> `fetch` is the official replacement for axios.

No. Axios is still maintained. They have not deprecated the project in favor of fetch.

kube-system an hour ago | parent | next [-]

It's not deprecated, it's obsoleted.

sieabahlpark 44 minutes ago | parent [-]

[dead]

augusto-moura 3 hours ago | parent | prev [-]

I'm not saying that axios is unmaintained, I'm saying that if you want something like axios from the standard lib, fetch is the closest thing you get to official