Browse Source

docs: makes the document more stable by removing stage-x for object separate syntax while it can be changed in the future (#1439)

The stage of [object spread syntax](https://github.com/sebmarkbage/ecmascript-rest-spread) has been changed to 4
Lê Công Tuấn 6 năm trước cách đây
mục cha
commit
de0515254c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      docs/guide/mutations.md

+ 1 - 1
docs/guide/mutations.md

@@ -86,7 +86,7 @@ Since a Vuex store's state is made reactive by Vue, when we mutate the state, Vu
 
   - Use `Vue.set(obj, 'newProp', 123)`, or
 
-  - Replace that Object with a fresh one. For example, using the stage-3 [object spread syntax](https://github.com/sebmarkbage/ecmascript-rest-spread) we can write it like this:
+  - Replace that Object with a fresh one. For example, using the [object spread syntax](https://github.com/sebmarkbage/ecmascript-rest-spread) we can write it like this:
 
     ``` js
     state.obj = { ...state.obj, newProp: 123 }