浏览代码

tweak counter comments

Evan You 8 年之前
父节点
当前提交
f71a8009da
共有 1 个文件被更改,包括 3 次插入4 次删除
  1. 3 4
      examples/counter/store.js

+ 3 - 4
examples/counter/store.js

@@ -43,10 +43,9 @@ const actions = {
   }
 }
 
-// A Vuex instance is created by combining the state, the actions,
-// and the mutations. Because the actions and mutations are just
-// functions that do not depend on the instance itself, they can
-// be easily tested or even hot-reloaded (see counter-hot example).
+// A Vuex instance is created by combining the state, mutations, actions,
+// and getters. Components should prefer interacting with the store via
+// getters and actions.
 export default new Vuex.Store({
   state,
   getters: {