Skip to content

Commit 355523e

Browse files
fix: grammar
1 parent 43a7c2b commit 355523e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/api/composition-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,11 @@ If `setup` returns an object, the properties on the object will be merged into t
121121
</script>
122122
```
123123

124-
Note that refs returned from `setup` are automatically unwrapped when accessed in the template so there's no need for `.value` in templates.
124+
Note that refs returned from `setup` are automatically unwrapped when accessed in the template so you shouldn't use `.value` in templates.
125125

126126
- **Usage with Render Functions**
127127

128-
`setup` can also return a render function, which can directly make use of reactive state declared in the same scope:
128+
`setup` can also return a render function, which can directly make use of the reactive state declared in the same scope:
129129

130130
```js
131131
import { h, ref, reactive } from 'vue'

0 commit comments

Comments
 (0)