From 4c292fd74cc571ddb26c4d387e71af9af201d6db Mon Sep 17 00:00:00 2001 From: Yinkan Li Date: Mon, 27 Jul 2020 12:49:59 +0800 Subject: [PATCH] Update README.md --- .../README.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/React Native \346\200\247\350\203\275\344\274\230\345\214\226/React Native \346\200\247\350\203\275\344\274\230\345\214\226\344\271\213\345\217\257\345\217\226\346\266\210\347\232\204\345\274\202\346\255\245\346\223\215\344\275\234/README.md" "b/React Native \346\200\247\350\203\275\344\274\230\345\214\226/React Native \346\200\247\350\203\275\344\274\230\345\214\226\344\271\213\345\217\257\345\217\226\346\266\210\347\232\204\345\274\202\346\255\245\346\223\215\344\275\234/README.md" index 8393194..855975f 100644 --- "a/React Native \346\200\247\350\203\275\344\274\230\345\214\226/React Native \346\200\247\350\203\275\344\274\230\345\214\226\344\271\213\345\217\257\345\217\226\346\266\210\347\232\204\345\274\202\346\255\245\346\223\215\344\275\234/README.md" +++ "b/React Native \346\200\247\350\203\275\344\274\230\345\214\226/React Native \346\200\247\350\203\275\344\274\230\345\214\226\344\271\213\345\217\257\345\217\226\346\266\210\347\232\204\345\274\202\346\255\245\346\223\215\344\275\234/README.md" @@ -91,7 +91,7 @@ import makeCancelable from '../util/Cancelable' ## 可取消的网络请求fetch -`fetch`是React Native开发过程中最常用的网络请求API,和`Promis`一样,fetch也没有提供用于取消已发出的网络请求的API。因为fetch返回的是一个`Promise`,所以我们可以借助上述方法,来取消fetch所发出的网络请求。 +`fetch`是React Native开发过程中最常用的网络请求API,和`Promise`一样,fetch也没有提供用于取消已发出的网络请求的API。因为fetch返回的是一个`Promise`,所以我们可以借助上述方法,来取消fetch所发出的网络请求。 ```JavaScript this.cancelable = makeCancelable(fetch('url')));