npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@alova/scene-react

v1.6.2

Published

scenario react hooks with alova.js

Downloads

1,501

Readme

alova 请求策略(React)

npm Coverage Status build license

alova 是一个请求策略库,它的使命是让应用更高效地管理 Client-Server 数据交互,让开发者更优雅地实现更高性能和体验更好的请求功能。这个库是围绕核心库针对特定场景实现了不同的请求策略,如果需要发挥 alova 更大的能量,可以配合这个库一同使用。

请求策略

分页请求策略

自动管理分页数据,数据预加载,减少不必要的数据刷新,流畅性提高 300%,编码难度降低 50%。

静默提交策略

提交即响应,大幅降低网络波动造成的影响,让你的应用在网络不稳定,甚至断网状态下依然可用。

更多策略敬请期待...

alova 示例

这里有些示例将会展示 alova 的强大力量

下一步做什么?

就像上面所说,alova 的使命是针对不同的请求场景提出更好的请求管理方案,特定场景的方案将会在 alovajs/scene 中实现,如果你有期待的请求场景,欢迎通过 issue 来讨论,也欢迎贡献你的聪明才智,通过 pull requests 来一起让 alova 变得更好。

LICENSE

MIT