]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: update prop comment 2699/head
authorEduardo San Martin Morote <posva13@gmail.com>
Thu, 30 Jan 2025 16:31:53 +0000 (17:31 +0100)
committerEduardo San Martin Morote <posva13@gmail.com>
Thu, 30 Jan 2025 16:32:05 +0000 (17:32 +0100)
Close #2899

packages/docs/core-concepts/index.md

index 2cc3474b7733c97a7d56f70b64c0c6fe4bf3e0d1..3f40d479d817fd6cbc8b3c135428d2709650bba0 100644 (file)
@@ -127,7 +127,7 @@ You can define as many stores as you want and **you should define each store in
 
 Once the store is instantiated, you can access any property defined in `state`, `getters`, and `actions` directly on the store. We will look at these in detail in the next pages but autocompletion will help you.
 
-Note that `store` is an object wrapped with `reactive`, meaning there is no need to write `.value` after getters but, like `props` in `setup`, **we cannot destructure it**:
+Note that `store` is an object wrapped with `reactive`, meaning there is no need to write `.value` after getters but, like any `reactive()` object in Vue, [**we lose reactivity when destructuring it**](https://vuejs.org/guide/essentials/reactivity-fundamentals.html#limitations-of-reactive):
 
 ```vue
 <script setup>