From 6f3ee990513b4fbfe76e15141937d3278b13f012 Mon Sep 17 00:00:00 2001 From: Paul Cowgill Date: Tue, 10 Mar 2020 11:41:28 -0500 Subject: [PATCH 1/3] Explain why we forked the GitHub version --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 066e9092..0aef7362 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,14 @@ # window.fetch polyfill +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. + +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) + +--- + The `fetch()` function is a Promise-based mechanism for programmatically making web requests in the browser. This project is a polyfill that implements a subset -of the standard [Fetch specification][], enough to make `fetch` a viable +of the standard [fetch specification][https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API], enough to make `fetch` a viable replacement for most uses of XMLHttpRequest in traditional web applications. ## Table of Contents From 2d5cc7d028d49fc3b2397f3b712a53bf8b610504 Mon Sep 17 00:00:00 2001 From: Paul Cowgill Date: Tue, 10 Mar 2020 11:47:28 -0500 Subject: [PATCH 2/3] Link styling fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0aef7362..bd00faf4 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ For more context, see [the `github/fetch` issue](https://github.com/github/fetch The `fetch()` function is a Promise-based mechanism for programmatically making web requests in the browser. This project is a polyfill that implements a subset -of the standard [fetch specification][https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API], enough to make `fetch` a viable +of the standard [fetch specification](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API), enough to make `fetch` a viable replacement for most uses of XMLHttpRequest in traditional web applications. ## Table of Contents From 22c13464a48e62902f42c3ead701342b89eb8cc3 Mon Sep 17 00:00:00 2001 From: Paul Cowgill Date: Tue, 10 Mar 2020 11:48:09 -0500 Subject: [PATCH 3/3] Punctuation --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bd00faf4..cb355011 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ 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. -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) +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). ---