Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 752 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 752 Bytes

react-native-fetch

fetch plugin for react-native. (It is based the react-native official code, just change some codes)

How to use?

just replace file in node_modules/react-native/Libraries/Fetch/fetch.js, and reload your react-native app.

Feature

Get more error tips on the network level.
For example:

  • Could not connect to the server.

react-native-fetch 中文介绍

react-native的网络插件(基于react-native官方的fetch的代码修改)

如何使用

fetch.js替换项目中的node_modules/react-native/Libraries/Fetch/fetch.js即可,替换后需重新加载react-native应用。

特点

新增一些处于网络层的错误提示。
如下:

  • Cloud not connect to the server.