From 065a3268cbe4f5e66134d763c6dab01b50e4eb8c Mon Sep 17 00:00:00 2001 From: Michael Cozzolino Date: Mon, 28 Apr 2025 21:37:21 +0200 Subject: [PATCH] docs: Props destructuring suggestion is not true anymore with the release of vue 3.5 (#2979) * fix(docs): Props destructuring suggestion is not true anymore with the release of vue 3.5 * Update packages/docs/core-concepts/index.md --------- Co-authored-by: Eduardo San Martin Morote --- packages/docs/core-concepts/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docs/core-concepts/index.md b/packages/docs/core-concepts/index.md index 2cc3474b..49c2350c 100644 --- a/packages/docs/core-concepts/index.md +++ b/packages/docs/core-concepts/index.md @@ -136,7 +136,7 @@ import { computed } from 'vue' const store = useCounterStore() // ❌ This won't work because it breaks reactivity -// it's the same as destructuring from `props` +// same as reactive: https://vuejs.org/guide/essentials/reactivity-fundamentals.html#limitations-of-reactive const { name, doubleCount } = store // [!code warning] name // will always be "Eduardo" // [!code warning] doubleCount // will always be 0 // [!code warning] -- 2.47.3