Skip to content

Commit 99bda99

Browse files
authored
Update reactivity-fundamentals.md (#2439)
Evidently, the loss of reactivity only occurs when deconstructing properties of primitive types, whereas properties of non-primitive types remain unaffected by this phenomenon.
1 parent b4ddd44 commit 99bda99

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
@@ -445,7 +445,7 @@ The `reactive()` API has a few limitations:
445445
state = reactive({ count: 1 })
446446
```
447447

448-
3. **Not destructure-friendly:** when we destructure a reactive object's property into local variables, or when we pass that property into a function, we will lose the reactivity connection:
448+
3. **Not destructure-friendly:** when we destructure a reactive object's primitive type property into local variables, or when we pass that property into a function, we will lose the reactivity connection:
449449

450450
```js
451451
const state = reactive({ count: 0 })

0 commit comments

Comments
 (0)