浏览代码

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 年之前
父节点
当前提交
de0515254c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 }