-
兄弟有想法将 mobx 包装一下,做成vuex风格吗?这事 mpx 已经做过了,但只能在 mpx 的开发环境用,这里有个兄弟自己开发了一个类vuex的解决方案,但毕竟没有经过项目的检验。
我在这里罗列了一下目前我翻到的微信小程序 store 方案:
https://github.com/zfxmnb/westore/issues/1
-
Couple of nice features 'just saying':
- filter_by_mutation_name(/regex/)
- exand-all(), close-all()
- remember expanded state after hot reload
- flash node changes to first visible parent
thanks fo…
-
This is for UIs that use the Vuex store and class API (ie, `@Getter` and `@Action`).
Investigate/identify:
- whether we can use this library in Vue3
- what is missing to be able to use it (or when it…
-
## 内容
現在のvoicevoxの状態管理は Vuex に[独自のカスタムヘルパー](https://github.com/VOICEVOX/voicevox/tree/main/src)を加えることで型サポートを受けています。
しかし現在のVuexの型を拡張したものでは、action, mutationの呼び出しが `dispatch("ACTION1")`, `commit("MUT…
-
service、repositoryの責務分け
・service
ドメインモデルを組み合わせて振舞う
gettersと組み合わせる
業務ロジックの実装
・repository
永続化、CRUD処理(フロントの場合API実行)
-
How can I inject a Vuex store for use with components I'm testing? I see vue-play itself uses Vuex so I'm not sure how to make use of Vuex myself without vue-play interfering.
-
- support for namespaced actions
- support for namespaced mutations
-
### What problem does this feature solve?
Is there a specific reason for a getter to get store context through separate arguments?
I like how the actions receive the context of the store, that is,…
-
I am using vuejs-dialog in a NUXT project.
My modals are with custom rendering (component).
Here is my setup:
```javascript
// ~/nuxt.config.js
export default {
...
plugins: [
…
-
Pinia is now recommended over VueX. It works with Vue2, so we could do it now, and I suspect it might make the transition to Vue3 easier. [Transition](https://pinia.vuejs.org/cookbook/migration-vuex.h…