Dan Kokotov
Dan Kokotov
Bumping this old issue. Recently we had a problem because an OpenTok server bug caused all API calls to hang, as a result, in our downstream application things were hanging...
I ran into this issue as well, and filed https://github.com/vercel/next.js/issues/57905 (I hadn't found this issue before filing mine). I don't think this has anything to do with ky, other than...
@Kikobeats I did mention in my comment that the incorrect behavior only occurs **on nextjs dev server** (its in the part of my comment you quoted) Your demonstration shows that...
One other thing worth mentioning is that it's a bit unergonomic to pass those unknown options to ky, since if I pass them directly, the type checker complains. I either...
@kdelmonte I am following the thread you linked as well - since I am one of the people affected by that issue. It looks like Next.js is working on a...
@kdelmonte (or @sindresorhus ) not sure if you've had a chance to look yet, but please let me know what you think of the approach in https://github.com/sindresorhus/ky/pull/542
To be honest I had some weird behaviors with the tests. When they ran on my fork they initially hung but then passed (https://github.com/dkokotov/ky/actions). so not sure why they are...
I am not sure what you mean by > heavily depends on TypeScript, which is often lagging or incomplete I don't think anything here is related to typescript. The question...
I should note that I ended up switching over to using wretch in the meantime. This is no knock on ky - I think both libraries are good, and I...