Evan You 9 năm trước cách đây
mục cha
commit
4d7fb0f4e9
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      examples/counter/vuex.js

+ 3 - 3
examples/counter/vuex.js

@@ -62,11 +62,11 @@ const mutations = {
 // 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.
+// be easily tested or even hot-reloaded (see counter-hot example).
 // 
 // You can also provide middlewares, which is just an array of
-// objects containing before/after hooks that will get called for
-// each mutation.
+// objects containing some hooks to be called at initialization
+// and after each mutation.
 export default new Vuex({
   state,
   actions,