mobx-miniprogram-bindings icon indicating copy to clipboard operation
mobx-miniprogram-bindings copied to clipboard

小程序的 MobX 绑定辅助库

Results 32 mobx-miniprogram-bindings issues
Sort by recently updated
recently updated
newest added

如题 我是这样操作的 array = array.map(item => item) 绑定的页面就可以实时更新 还有其他方法?

![image](https://github.com/wechat-miniprogram/mobx-miniprogram-bindings/assets/71298261/bbb2412e-0388-46c8-b647-be28a7bac64d) 好像是导致typeRoots失效了一样

Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 5.0.0 to 5.0.1. Release notes Sourced from ansi-regex's releases. v5.0.1 Fixes (backport of 6.0.1 to v5) This is a backport of the minor ReDos vulnerability in ansi-regex@<6.0.1,...

dependencies

Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.2. Release notes Sourced from loader-utils's releases. v1.4.2 1.4.2 (2022-11-11) Bug Fixes ReDoS problem (#226) (17cbf8f) v1.4.1 1.4.1 (2022-11-07) Bug Fixes security problem (#220) (4504e34)...

dependencies

Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. Release notes Sourced from json5's releases. v1.0.2 Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a...

dependencies

Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...

dependencies

![image](https://user-images.githubusercontent.com/27353058/170462468-55070336-292f-4030-833d-d683f5052f01.png) ![image](https://user-images.githubusercontent.com/27353058/170462515-aacb6843-30ec-4763-afc4-ed3897906b84.png)

### 研究了半天我发现storeBindings在设置了namespace以后调用仓库任意一个action方法后会导致所有的观察数据全部更新。 - [https://developers.weixin.qq.com/s/4kmFAemE7JHF](url)

bug

store 中放一个空数组 会生成999条呢

`import { configure, observable, action } from 'mobx-miniprogram'; // 不允许在动作外部修改状态 configure({ enforceActions: 'observed' }); export const store = observable({ /** 数据字段 */ numA: 1, numB: 2, /** 计算属性 */ get...