What is Nostr?
Alex /
npub1q3s…d26p
2024-10-11 16:26:04
in reply to nevent1q…75z4

Alex on Nostr: Tired of being stuck in 2017 with Axios and xhr. I want new things to be based on ...

Tired of being stuck in 2017 with Axios and xhr. I want new things to be based on Fetch API. A lot of code depends on it so I want to change it now. Couldn't get past this in the "best" existing library: https://github.com/sindresorhus/ky/pull/606 Wasn't worth forking it when I need only a fraction of the functionality anyway. So I wrote this instead: https://gitlab.com/soapbox-pub/soapbox/-/blob/main/src/api/MastodonClient.ts?ref_type=heads Honestly not bad, but it took way longer to figure out than it looks.
Author Public Key
npub1q3sle0kvfsehgsuexttt3ugjd8xdklxfwwkh559wxckmzddywnws6cd26p