Skip to content

Commit 0b48469

Browse files
authored
Merge pull request #1 from react-native-community/feature/readme-context
Explain why we forked the GitHub version
2 parents 7232090 + 22c1346 commit 0b48469

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Diff for: README.md

+7-1
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)