These are chat archives for jdubray/sam

May 2016
Jean-Jacques Dubray
May 31 2016 00:06
Anyone has tried riot.js?
Jean-Jacques Dubray
May 31 2016 01:07
@weepy @509dave16 FireBase is truly amazing. That could be the reason why Facebook pulled the plug on parse. Hard to compete with it.
David Fall
May 31 2016 04:58
@jdubray Totally fine that you added a link and tweeted it.
Jean-Jacques Dubray
May 31 2016 09:08

@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)