- 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.
- Learning Windows Server Containers
- Linux內核完全注釋(20周年版·第2版)
- 網絡操作系統:Windows Server 2003管理與應用
- Linux網絡操作系統與實訓(第三版)
- Extending Puppet
- 精通Linux內核開發
- WindowsServer2012Hyper-V虛擬化部署與管理指南
- 玩到極致 iPhone 4S完全攻略
- 嵌入式操作系統(Linux篇)(微課版)
- Linux內核設計的藝術:圖解Linux操作系統架構設計與實現原理
- Windows Vista終極技巧金典
- bash shell腳本編程經典實例(第2版)
- Learn OpenShift
- BuddyPress Theme Development
- Apache ShardingSphere權威指南