A window.fetch JavaScript polyfill.
-
Updated
Sep 19, 2020 - JavaScript
{{ message }}
A window.fetch JavaScript polyfill.
I've read many similar closed issues, but haven't found a good documented solution on what can I do as a consumer of ky package if I need to support e.g iOS 10.0 browser (that breaks on async/await support currently).
I agree that it's not related to ky itself, but can be a nice help for the consumers of the package.
In our particular can we don't use babel (we use typescript), so I'm
node-fetch currently completely ignoring Content-Length header while consuming response.
Fetch specification about handling Content-Length on server response says almost nothing:
https://fetch.spec.whatwg.org/#concept-http-network-fetch (see whatwg/fetch#67)
On other hand, we have a fetch-node specific extension to limit the size of the response.
My prop
A tiny wrapper built around fetch with an intuitive syntax.
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.
A library for managing network state in Redux
combination of react teconology stack
Periodic background tasks for React Native apps, cross-platform (iOS and Android), which run even when the app is closed.
Restangular for Angular 2 and higher versions
Simple and powerful API client for react
A React hook compatible with React 16.6's Suspense component.
A repository of Fetch examples. See https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API for the corresponding documentation.
Use Ky in both Node.js and browsers
一站式解决 WKWebView 支持离线包,Ajax/Fetch 请求,表单请求和 Cookie 同步的问题 (基于 Ajax Hook,Fetch Hook 和 Cookie Hook)
Making fetch happen in TypeScript.
Declarative AJAX requests and automatic network state management for Redux
A tiny modern data fetching solution
Polyfill for the AbortController DOM API and abortable fetch (stub that calls catch, doesn't actually abort request).
Add a description, image, and links to the fetch topic page so that developers can more easily learn about it.
To associate your repository with the fetch topic, visit your repo's landing page and select "manage topics."
A bit of context, we introduced
swrtwo weeks ago to our codebase. Everything is working fine, but we started to get some reports about some parts of the app being broken in slightly older browsers (Chrome 49, Firefox 59, Edge 18, etc…)We found out that
swrwas causing a syntax error in these browsers because webpack by default picked the ESM build (rightly so) but because it's not transp