-
Updated
Jul 25, 2021 - JavaScript
fetch
Here are 1,790 public repositories matching this topic...
From time to time i see ppl using data
instead of body
which is wrong.
happened just recently in node-fetch/node-fetch#481 (comment)
how do you feel about adding a little warning message that can only appear once. (kinda like node reports that you are using experimental apis)
if ('data' in bodyInit && notWarned) {
console.warn('use body i
Port tests from Got
Got has a very good coverage test-wise. Would be nice to port relevant tests that we're missing over to Ky.
Note: Not for https://github.com/sindresorhus/ky/blob/master/test/browser.js, but for everything else.
-
Updated
Jun 30, 2021 - JavaScript
-
Updated
Jul 29, 2021 - TypeScript
Presumably these should result in a network error. The current specification doesn't state anything and it's not tested either.
See the README for instructions on where to add tests. In the specification the "blob" case of https://fetch.spec.whatwg.org/#scheme-fetch needs updating to handle current URL’s blob URL entry being null.
-
Updated
Mar 18, 2021 - Vue
-
Updated
Jul 29, 2021 - JavaScript
-
Updated
Jun 28, 2021 - JavaScript
-
Updated
Aug 19, 2020 - JavaScript
-
Updated
Jul 31, 2021 - JavaScript
-
Updated
Oct 29, 2019 - Java
-
Updated
May 26, 2021 - TypeScript
-
Updated
Jun 8, 2021 - TypeScript
-
Updated
Jul 3, 2019 - TypeScript
-
Updated
Jan 21, 2021 - Objective-C
-
Updated
May 8, 2019 - JavaScript
-
Updated
Feb 20, 2021 - JavaScript
-
Updated
Jun 2, 2021 - TypeScript
-
Updated
Jan 23, 2021 - JavaScript
-
Updated
Mar 29, 2021 - HTML
-
Updated
Jun 12, 2021 - JavaScript
Improve this page
Add a description, image, and links to the fetch topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the fetch topic, visit your repo's landing page and select "manage topics."
The documentation for
mutate
talks about local mutation for faster feedback, but the documented way to use it only mutates after a promise has resolved - in other words, not immediately.As a result, I've found myself writing code in this kind of pattern: