These are chat archives for jdubray/sam
@weepy I like some of the principles behind vuex (of course):
1) You cannot directly mutate the store's state. The only way to change a store's state is by explicitly dispatching mutations.
2) At the center of every Vuex application is the store
I have seen 1) before, but I can't remember where :-)
Now what I don't like is:
Vuex stores are reactive. When Vue components retrieve state from it, they will reactively and efficiently update if the store's state changes.
I don't believe that's the proper way of doing it. This is also what MobX is doing. For me the proper way of doing it is functional HTML or V = f(M)