Skip to main content

mini-stores

github.com

mini-stores是一个小程序多状态管理库,支持微信、支付宝、钉钉、百度、字节、QQ等小程序平台。它解决了小程序跨页面跨组件通信问题,支持多例store和高性能数据更新,API简单易用且对小程序代码零侵入。

Developer Tools & APIsOpen source#state-management#mini-programs#api
Visit website
mini-stores preview

项目地址:https://github.com/linjc/mini-stores---## 前言小程序开发已经成为前端开发的一个主流。其优秀的用户体验,也使得继微信之后,阿里、百度、京东、字节等各大平台也相应推出了小程序端。但令人遗憾的是,目前为止各平台都没有提供官方的状态管理库,用过redux、vuex、mobx等状态管理库的前端小伙伴都知道,状态管理能很轻松帮我们解决很多跨页面跨组件通信问题。mini-stores解决小程序跨页面越组件通信问题,轻松实现小程序多状态管理。## 特性* 解决小程序跨页面跨组件通信* 支持多例store,可实现页面/组件同时多状态管理* 高性能,使用diff库比对数据,每次以最小数据量更新* 对小程序代码零破坏零侵入,API就几个,上手非常容易* 支持微信/支付宝/钉钉/百度/字节/QQ等小程序(其他小程序如果框架API和以上任意一个相同,也可使用)

More in Developer Tools & APIs

SolveHub

API for CAPTCHA and anti-bot tasks in authorized testing

Dev Tools ·

liarjs.dev

Scanner that cross-checks browser JavaScript fingerprint against network layer

Dev Tools ·

AntiBrow

Antidetect browser for managing multiple browser identities with real-device

Dev Tools ·

HostlessWP

Open source CLI to move WordPress to Cloudflare Workers

Dev Tools ·

deed.page

Permanent web hosting with an API for AI agents

Dev Tools ·

Rowflare

Open-source Airtable alternative running on your Cloudflare account

Dev Tools ·