Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【开源自荐】mini-stores 小程序多状态管理库,支持微信/支付宝/钉钉/百度/字节/QQ等小程序 #1940

Open
linjc opened this issue Sep 10, 2021 · 0 comments

Comments

@linjc
Copy link

linjc commented Sep 10, 2021

项目地址:https://github.com/linjc/mini-stores


前言

小程序开发已经成为前端开发的一个主流。其优秀的用户体验,也使得继微信之后,阿里、百度、京东、字节等各大平台也相应推出了小程序端。但令人遗憾的是,目前为止各平台都没有提供官方的状态管理库,用过redux、vuex、mobx等状态管理库的前端小伙伴都知道,状态管理能很轻松帮我们解决很多跨页面跨组件通信问题。

mini-stores解决小程序跨页面越组件通信问题,轻松实现小程序多状态管理。

特性

  • 解决小程序跨页面跨组件通信
  • 支持多例store,可实现页面/组件同时多状态管理
  • 高性能,使用diff库比对数据,每次以最小数据量更新
  • 对小程序代码零破坏零侵入,API就几个,上手非常容易
  • 支持微信/支付宝/钉钉/百度/字节/QQ等小程序(其他小程序如果框架API和以上任意一个相同,也可使用)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants