wxMiniStore icon indicating copy to clipboard operation
wxMiniStore copied to clipboard

一个基于微信小程序的mini全局状态管理库

Results 11 wxMiniStore issues
Sort by recently updated
recently updated
newest added

![image](https://user-images.githubusercontent.com/36875450/159395531-ede1d1e0-f726-48db-94ed-8a327e1df90a.png)

question

在App.js的onLaunch()中请求后端获取userInfo。然后要在首页index.js中监听到userInfo后,才能进行其它的业务,可是目前没这个功能啊,总不能用定时器去循环等待吧,太美中不足了,期待能早点更新数据监听

我将这个库 迁移到淘宝小程序了,目前测试 page之间用store是没问题 可以获得的, page和组件之间通讯 目前有问题 ,希望可以 探讨下怎么适配到淘宝小程序 ,我已经加你微信,麻烦通过 下 我的wx:110837675

Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=path-parse&package-manager=npm_and_yarn&previous-version=1.0.6&new-version=1.0.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...

dependencies

Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. Changelog Sourced from y18n's changelog. Change Log All notable changes to this project will be documented in this file. See standard-version for commit guidelines....

dependencies

是否可以实现在页面监听到state的修改,之后对数据进行修改/处理

# 更新日志 ### 1.2.8 \[2019.11.27\] `F`: 优化diff能力。 ### 1.2.7 \[2019.9.6\] `F`: 修复删除state中的数组,删除的项会为null的问题。 ### 1.2.6 \[2019.6.26\] `A`: 新增[store.prototype.getState](#state),用于读取store.$state的拷贝,防止对原状态进行误操作。 ### 1.2.5 \[2019.6.25\] `F`: 修复setState为引用类型数据时视图可能不会更新。 ### 1.2.3 \[2019.4.15\] `A`: 组件/页面内 新增[useProp属性](#useProp),指定当前组件/页面使用指定状态,提高性能。 \[2019.4.15\] `U`:...