[![use-http logo][3]][5]
useFetch
特点
----------
- 支持 SSR (服务器端渲染)
- TypeScript 支持
- 2 依赖项 ([use-ssr](https://github.com/alex-cory/use-ssr)、[urs](https://github.com/alex-cory/urs))
- 支持 GraphQL(查询 + 变更)
- 提供者可设置默认的 `url` 和 `options`
- 请求/响应拦截器
- React Native 支持
- 当组件卸载时,中止/取消正在等待的 http 请求
- 内置缓存
- 持久缓存支持
- Suspense(实验性) 支持
- 重试功能
使用 - -