Skip to content

Commit 6f3ee99

Browse files
authored
Explain why we forked the GitHub version
1 parent 7232090 commit 6f3ee99

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
# window.fetch polyfill
22

3+
This is a fork of [GitHub's fetch polyfill](https://github.com/github/fetch). Its purpose is to get [the fetch polyfill used in React Native](https://github.com/facebook/react-native/blob/master/Libraries/Network/fetch.js) closer to the `whatwg` spec without worrying about breaking older browser versions.
4+
5+
For more context, see [the `github/fetch` issue](https://github.com/github/fetch/issues/746) and [the `react-native` issue](https://github.com/facebook/react-native/issues/27741)
6+
7+
---
8+
39
The `fetch()` function is a Promise-based mechanism for programmatically making
410
web requests in the browser. This project is a polyfill that implements a subset
5-
of the standard [Fetch specification][], enough to make `fetch` a viable
11+
of the standard [fetch specification][https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API], enough to make `fetch` a viable
612
replacement for most uses of XMLHttpRequest in traditional web applications.
713

814
## Table of Contents

0 commit comments

Comments
 (0)