Skip to content

Commit 6636e8a

Browse files
tommyipblake-newman
authored andcommitted
Update state.md
1 parent f474251 commit 6636e8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/state.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ computed: mapState([
9292

9393
### Object Spread Operator
9494

95-
Note that `mapState` returns an object. How do we use it in combination with other local computed properties? Normally, we'd have to use a utility to merge multiple objects into one so that we can pass the final object to `computed`. However with the [object spread operator](https://github.com/sebmarkbage/ecmascript-rest-spread) (which is a stage-3 ECMASCript proposal), we can greatly simplify the syntax:
95+
Note that `mapState` returns an object. How do we use it in combination with other local computed properties? Normally, we'd have to use a utility to merge multiple objects into one so that we can pass the final object to `computed`. However with the [object spread operator](https://github.com/sebmarkbage/ecmascript-rest-spread) (which is a stage-3 ECMAScript proposal), we can greatly simplify the syntax:
9696

9797
``` js
9898
computed: {

0 commit comments

Comments
 (0)