Skip to content

Commit de05152

Browse files
Lê Công Tuấnktsn
Lê Công Tuấn
authored andcommitted
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
1 parent ee7c6f3 commit de05152

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/mutations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Since a Vuex store's state is made reactive by Vue, when we mutate the state, Vu
8686

8787
- Use `Vue.set(obj, 'newProp', 123)`, or
8888

89-
- 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:
89+
- 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:
9090

9191
``` js
9292
state.obj = { ...state.obj, newProp: 123 }

0 commit comments

Comments
 (0)