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

Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.8. Changelog Sourced from minimist's changelog. v1.2.8 - 2023-02-09 Merged [Fix] Fix long option followed by single dash [#17](https://github.com/minimistjs/minimist/issues/17) [Tests] Remove duplicate test [#12](https://github.com/minimistjs/minimist/issues/12) [Fix]...

dependencies

![image](https://user-images.githubusercontent.com/50065494/220355363-6ede20da-9cf3-4723-8775-fc4f4a033155.png)

请问发送axios请求相应式改变store状态要怎么做? 我现在store里的action里写了异步改变状态没有用

如果我想在page中直接修改和component共享的数据不可以吗

目前如果data 是 Array,需要全量设置Arrary,这样会导致根据Array渲染已渲染的的自定义组件会经过一次无意义的diff过程

不管是behaviors还是ComponentWithStore,ts都会报类型不对。。。

在使用 `ComponentWithStore` 时发现,所有的 `this.data`, `this.properties` 的类型都变成了 Function。 看了下你们写的类型声明,发现是有问题的 ```typescript declare type TData = WechatMiniprogram.Component.DataOption; declare type TProperty = WechatMiniprogram.Component.PropertyOption; declare type TMethod = WechatMiniprogram.Component.MethodOption; declare type StoreOptions = Partial &...

ComponentWithStore > storeBindings > actions声明了字段,写在 onShow中写 this 时没有任何提示,然会报红

enhancement

![image](https://github.com/user-attachments/assets/71471fe9-0f35-4579-b70e-90414fdda446)

实例代码片段如下: ```typescript ComponentWithStore({ storeBindings: { store, fields: ..., actions: { update: 'updateNum', }, }, methods: { submit() { this.update(...) // 报错说`update`在`ComponentWithStoreInstance`上不存在 }, }, }) ```