Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alovajs/scene
request strategy with alova.js
https://github.com/alovajs/scene
alova axios fetch-api javascript request superagent xmlhttprequest
Last synced: 7 days ago
JSON representation
request strategy with alova.js
- Host: GitHub
- URL: https://github.com/alovajs/scene
- Owner: alovajs
- License: mit
- Created: 2022-10-29T09:14:13.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-17T09:13:59.000Z (7 months ago)
- Last Synced: 2024-05-21T05:12:52.370Z (6 months ago)
- Topics: alova, axios, fetch-api, javascript, request, superagent, xmlhttprequest
- Language: TypeScript
- Homepage: https://alova.js.org
- Size: 3.32 MB
- Stars: 16
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# alova request strategy
[![npm](https://img.shields.io/npm/v/@alova/scene-vue)](https://www.npmjs.com/package/@alova/scene)
[![Coverage Status](https://coveralls.io/repos/github/alovajs/scene/badge.svg?branch=main)](https://coveralls.io/github/alovajs/scene?branch=main)
[![build](https://github.com/alovajs/scene/actions/workflows/release.yml/badge.svg?branch=main)](https://github.com/alovajs/scene/actions/workflows/release.yml)
![license](https://img.shields.io/badge/license-MIT-blue.svg)[alova](https://github.com/alovajs/alova) is a request strategy library, **Its mission is to make applications manage Client-Server data interaction more efficiently**, allowing developers to more elegantly implement more High performance and experience better request function. This library implements different request strategies for specific scenarios around the [core library](https://github.com/alovajs/alova). If you need to give full play to the power of alova, you can use it together with this library.
## Request Strategies
### Pagination request strategy
Automatically manage paging data, data preloading, reduce unnecessary data refresh, improve fluency by 300%, and reduce coding difficulty by 50%.
### Silent commit strategy
Response upon submission, greatly reducing the impact of network fluctuations, allowing your application to remain available even when the network is unstable or even disconnected.
### More strategies comming soon...
## alova example
[Here are some examples that will demonstrate the power of alova](https://alova.js.org/category/%E7%A4%BA%E4%BE%8B)
## What's next?
As mentioned above, the mission of alova is to propose better request management solutions for different request scenarios, and solutions for specific scenarios will be found in [**alovajs/scene**](https://github.com/alovajs/scene), if you have an expected request scene, welcome to discuss it through [issue](https://github.com/alovajs/scene/issues), and welcome to contribute your ingenuity through [pull requests](https://github.com/alovajs/scene/pulls) to make alova better together.
## LICENSE
[MIT](https://en.wikipedia.org/wiki/MIT_License)