Skip to content

Commit 7648350

Browse files
authored
Objects aren't value type
Deeply nested objects aren't value type. It's reference type in JavaScript.
1 parent 5a1e8c2 commit 7648350

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/essentials/reactivity-fundamentals.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ export default {
301301

302302
<div class="composition-api">
303303

304-
Refs can hold any value type, including deeply nested objects, arrays, or JavaScript built-in data structures like `Map`.
304+
Refs can hold any value type or reference type, including deeply nested objects, arrays, or JavaScript built-in data structures like `Map`.
305305

306306
A ref will make its value deeply reactive. This means you can expect changes to be detected even when you mutate nested objects or arrays:
307307

0 commit comments

Comments
 (0)