- React Native Blueprints
- Emilio Rodriguez Martinez
- 245字
- 2021-07-02 15:20:03
Networking in React Native
Most mobile apps need to fetch and update data from an external URL. There are several npm modules, which can be used in React Native to communicate and download remote resources such as Axios or SuperAgent. If you are familiar with a specific HTTP library, you can use it in your React Native projects (as long as is not dependent on any browser specific APIs), although a safe and proficient option is to use Fetch, the built-in networking library in React Native.
Fetch is very similar to XMLHttpRequest, so it will feel familiar to any web developers who had to perform AJAX requests from the browser. On top of that, Fetch supports promises and the ES2017 async/await syntax.
The full documentation for the Fetch API can be found on Mozilla Developer Networks website https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API.
- Linux系統文件安全實戰全攻略
- 構建高可用Linux服務器(第4版)
- Containerization with LXC
- Mobile-first Bootstrap
- Linux Mint Essentials
- Persistence in PHP with the Doctrine ORM
- 精通Linux內核開發
- 精解Windows8
- Docker+Kubernetes應用開發與快速上云
- Microsoft Operations Management Suite Cookbook
- Fedora 12 Linux應用基礎
- ElasticSearch Cookbook
- Django Project Blueprints
- Distributed Computing with Go
- Introduction to R for Quantitative Finance